#284BAC

Closest named color: Sapphire (#2138AB). oklch(44.7% 0.161 265.3), rgb(40, 75, 172).

Aa

White text reads best on this color (7.79:1).

About this color

#284BAC is a dark, vivid blue. In OKLCH its lightness is 45%, its chroma 0.161 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Sapphire (#2138AB), ΔE 0.047 away. White text reads best on it, at 7.79:1.

Hue familyBlues
Lightnessdark (45%)
Chromavivid (0.161)
Temperaturecool
Nearest nameSapphire (#2138AB)
Black text2.69:1
White text7.79:1

Values

HEX#284BAC
RGBrgb(40, 75, 172)
HSLhsl(224, 62%, 42%)
OKLCHoklch(44.7% 0.161 265.3)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #284BAC 7.79:1 AAA Lc -91.3 Preferred for body text
Black text on #284BAC 2.69:1 Fails Lc 17.4 Dividers and decoration only
#284BAC text on white 7.79:1 AAA Lc 86.6 Fine for body text
#284BAC text on black 2.69:1 Fails Lc -15.5 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 800.

  1. Step 50

    50

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFD

    oklch(93.6% 0.028 265.4)

  3. Step 200

    200

    #C9D9FD

    oklch(88.5% 0.053 266.4)

  4. Step 300

    300

    #A3C0FE

    oklch(80.9% 0.094 265)

  5. Step 400

    400

    #739CFE

    oklch(70.6% 0.151 265.6)

  6. Step 500

    500

    #5080FC

    oklch(63.1% 0.192 265.3)

  7. Step 600

    600

    #3665EB

    oklch(55.5% 0.209 265.3)

  8. Step 700

    700

    #2A53CD

    oklch(49.2% 0.195 265.4)

  9. Step 800

    800 (this color)

    #284BAC

    oklch(44.7% 0.161 265.3)

  10. Step 900

    900

    #203B83

    oklch(37.6% 0.126 265.3)

  11. Step 950

    950

    #13234D

    oklch(26.9% 0.08 265.6)

Export this scale for Tailwind in the Tailwind colors tool

#284BAC with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#0058AF0.035
Deuteranopia (no green cones)#004CAA0.022
Tritanopia (no blue cones)#0063740.126
Achromatopsia (no color)#5252520.161

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #284BAC

    #284BAC

    oklch(44.7% 0.161 265.3)

  • #6B5000

    #6B5000

    oklch(44.7% 0.092 86.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #284BAC

    #284BAC

    oklch(44.7% 0.161 265.3)

  • #005C82

    #005C82

    oklch(44.8% 0.096 235.3)

  • #5E39A2

    #5E39A2

    oklch(44.7% 0.162 295.3)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #284BAC

    #284BAC

    oklch(44.7% 0.161 265.3)

  • #814100

    #814100

    oklch(44.8% 0.11 55.8)

  • #535B00

    #535B00

    oklch(44.9% 0.102 115.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #284BAC

    #284BAC

    oklch(44.7% 0.161 265.3)

  • #9A1C21

    #9A1C21

    oklch(44.7% 0.161 25.1)

  • #00671A

    #00671A

    oklch(44.7% 0.139 145.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #284BAC

    #284BAC

    oklch(44.7% 0.161 265.3)

  • #931D58

    #931D58

    oklch(44.8% 0.16 355.7)

  • #6B5000

    #6B5000

    oklch(44.7% 0.092 86.1)

  • #006352

    #006352

    oklch(44.6% 0.084 175.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #284BAC, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #284BAC in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.