#284D9E

Closest named color: Cobalt (#1E488F). oklch(44.1% 0.139 263.3), rgb(40, 77, 158).

Aa

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

About this color

#284D9E is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.139 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.030 away. White text reads best on it, at 7.93:1.

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.64:1
White text7.93:1

Values

HEX#284D9E
RGBrgb(40, 77, 158)
HSLhsl(221, 60%, 39%)
OKLCHoklch(44.1% 0.139 263.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 #284D9E 7.93:1 AAA Lc -91.9 Preferred for body text
Black text on #284D9E 2.64:1 Fails Lc 16.9 Dividers and decoration only
#284D9E text on white 7.93:1 AAA Lc 87.1 Fine for body text
#284D9E text on black 2.64:1 Fails Lc -15.0 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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFA

    oklch(93.6% 0.023 264.5)

  3. Step 200

    200

    #CADAF8

    oklch(88.6% 0.045 263.1)

  4. Step 300

    300

    #A6C1F6

    oklch(81% 0.081 263.6)

  5. Step 400

    400

    #769FF1

    oklch(70.7% 0.129 263.3)

  6. Step 500

    500

    #5384ED

    oklch(63.1% 0.167 263.5)

  7. Step 600

    600

    #386BDB

    oklch(55.6% 0.18 263.3)

  8. Step 700

    700

    #2B59BE

    oklch(49.2% 0.167 263.2)

  9. Step 800

    800 (this color)

    #284D9E

    oklch(44.1% 0.139 263.3)

  10. Step 900

    900

    #223E7A

    oklch(37.7% 0.108 263.3)

  11. Step 950

    950

    #142548

    oklch(27.1% 0.069 263.1)

Export this scale for Tailwind in the Tailwind colors tool

#284D9E 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)#1C57A10.027
Deuteranopia (no green cones)#004C9C0.024
Tritanopia (no blue cones)#00606E0.109
Achromatopsia (no color)#5151510.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #284D9E

    #284D9E

    oklch(44.1% 0.139 263.3)

  • #6A4D00

    #6A4D00

    oklch(44% 0.09 83.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #284D9E

    #284D9E

    oklch(44.1% 0.139 263.3)

  • #005A7D

    #005A7D

    oklch(44% 0.092 233.6)

  • #583E97

    #583E97

    oklch(44% 0.14 293.3)

Open the analogous palette in the generator

Split complementary

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

  • #284D9E

    #284D9E

    oklch(44.1% 0.139 263.3)

  • #803E00

    #803E00

    oklch(44.1% 0.111 53.8)

  • #535800

    #535800

    oklch(44.1% 0.099 113.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #284D9E

    #284D9E

    oklch(44.1% 0.139 263.3)

  • #90282B

    #90282B

    oklch(44.1% 0.139 23.5)

  • #0C6512

    #0C6512

    oklch(44.2% 0.139 143.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #284D9E

    #284D9E

    oklch(44.1% 0.139 263.3)

  • #882859

    #882859

    oklch(44% 0.139 352.9)

  • #6A4D00

    #6A4D00

    oklch(44% 0.09 83.6)

  • #00614E

    #00614E

    oklch(43.9% 0.084 173.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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