#284E8A

Closest named color: Dusk Blue (#26538D). oklch(42.8% 0.109 259.2), rgb(40, 78, 138).

Aa

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

About this color

#284E8A is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.109 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.014 away. White text reads best on it, at 8.24:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.109)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.54:1
White text8.24:1

Values

HEX#284E8A
RGBrgb(40, 78, 138)
HSLhsl(217, 55%, 35%)
OKLCHoklch(42.8% 0.109 259.2)

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 #284E8A 8.24:1 AAA Lc -92.9 Preferred for body text
Black text on #284E8A 2.54:1 Fails Lc 15.8 Dividers and decoration only
#284E8A text on white 8.24:1 AAA Lc 88.2 Fine for body text
#284E8A text on black 2.54:1 Fails Lc -13.9 Not readable

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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EAF7

    oklch(93.6% 0.019 263)

  3. Step 200

    200

    #CCDAF1

    oklch(88.5% 0.035 260.4)

  4. Step 300

    300

    #A8C2EA

    oklch(80.8% 0.064 258.9)

  5. Step 400

    400

    #7AA2E0

    oklch(70.8% 0.101 258.9)

  6. Step 500

    500

    #5889D7

    oklch(63.1% 0.13 259.3)

  7. Step 600

    600

    #3D71C5

    oklch(55.5% 0.142 259.6)

  8. Step 700

    700

    #2F5FAA

    oklch(49.2% 0.131 259.1)

  9. Step 800

    800 (this color)

    #284E8A

    oklch(42.8% 0.109 259.2)

  10. Step 900

    900

    #25416E

    oklch(37.7% 0.085 259.5)

  11. Step 950

    950

    #162640

    oklch(26.9% 0.053 259.7)

Export this scale for Tailwind in the Tailwind colors tool

#284E8A 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)#32538C0.019
Deuteranopia (no green cones)#214A890.014
Tritanopia (no blue cones)#005C650.087
Achromatopsia (no color)#4F4F4F0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #284E8A

    #284E8A

    oklch(42.8% 0.109 259.2)

  • #694800

    #694800

    oklch(42.7% 0.089 78.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #284E8A

    #284E8A

    oklch(42.8% 0.109 259.2)

  • #005774

    #005774

    oklch(42.7% 0.085 229.4)

  • #4F4386

    #4F4386

    oklch(42.9% 0.108 289.3)

Open the analogous palette in the generator

Split complementary

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

  • #284E8A

    #284E8A

    oklch(42.8% 0.109 259.2)

  • #7D3909

    #7D3909

    oklch(42.8% 0.109 49)

  • #545300

    #545300

    oklch(42.9% 0.093 109)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #284E8A

    #284E8A

    oklch(42.8% 0.109 259.2)

  • #803237

    #803237

    oklch(42.8% 0.108 19)

  • #2C5D1D

    #2C5D1D

    oklch(42.9% 0.109 139.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #284E8A

    #284E8A

    oklch(42.8% 0.109 259.2)

  • #793258

    #793258

    oklch(42.7% 0.109 349.4)

  • #694800

    #694800

    oklch(42.7% 0.089 78.7)

  • #005E47

    #005E47

    oklch(42.8% 0.086 168.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #284E8A 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.