#02489C

Closest named color: Cobalt (#1E488F). oklch(41.8% 0.15 257.6), rgb(2, 72, 156).

Aa

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

About this color

#02489C is a dark, vivid blue. In OKLCH its lightness is 42%, its chroma 0.150 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.025 away. White text reads best on it, at 8.71:1.

Hue familyBlues
Lightnessdark (42%)
Chromavivid (0.150)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.40:1
White text8.71:1

Values

HEX#02489C
RGBrgb(2, 72, 156)
HSLhsl(213, 97%, 31%)
OKLCHoklch(41.8% 0.15 257.6)

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 #02489C 8.71:1 AAA Lc -93.7 Preferred for body text
Black text on #02489C 2.40:1 Fails Lc 14.9 Not readable
#02489C text on white 8.71:1 AAA Lc 89.1 Fine for body text
#02489C text on black 2.40:1 Fails Lc -13.1 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFB

    oklch(93.7% 0.025 257.6)

  3. Step 200

    200

    #C5DBFA

    oklch(88.5% 0.049 256.9)

  4. Step 300

    300

    #9DC3FA

    oklch(81% 0.088 257.6)

  5. Step 400

    400

    #66A1F7

    oklch(70.6% 0.141 257.8)

  6. Step 500

    500

    #3987F3

    oklch(63.1% 0.179 257.5)

  7. Step 600

    600

    #0E6DE2

    oklch(55.5% 0.196 257.7)

  8. Step 700

    700

    #005BC3

    oklch(49.1% 0.179 257.6)

  9. Step 800

    800 (this color)

    #02489C

    oklch(41.8% 0.15 257.6)

  10. Step 900

    900

    #113F7E

    oklch(37.6% 0.118 257.7)

  11. Step 950

    950

    #0C264A

    oklch(27.1% 0.074 257.4)

Export this scale for Tailwind in the Tailwind colors tool

#02489C 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)#01529F0.028
Deuteranopia (no green cones)#00459A0.009
Tritanopia (no blue cones)#005D6B0.113
Achromatopsia (no color)#4B4B4B0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #02489C

    #02489C

    oklch(41.8% 0.15 257.6)

  • #664500

    #664500

    oklch(41.7% 0.087 77.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #02489C

    #02489C

    oklch(41.8% 0.15 257.6)

  • #00556F

    #00556F

    oklch(41.9% 0.081 227.1)

  • #4C3898

    #4C3898

    oklch(41.9% 0.15 287.7)

Open the analogous palette in the generator

Split complementary

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

  • #02489C

    #02489C

    oklch(41.8% 0.15 257.6)

  • #7C3400

    #7C3400

    oklch(41.8% 0.114 47.8)

  • #524F00

    #524F00

    oklch(41.7% 0.089 107.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #02489C

    #02489C

    oklch(41.8% 0.15 257.6)

  • #8C172C

    #8C172C

    oklch(41.8% 0.15 17.8)

  • #235B00

    #235B00

    oklch(41.7% 0.128 137.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #02489C

    #02489C

    oklch(41.8% 0.15 257.6)

  • #821C5B

    #821C5B

    oklch(41.8% 0.15 347.8)

  • #664500

    #664500

    oklch(41.7% 0.087 77.7)

  • #005B43

    #005B43

    oklch(41.8% 0.085 167.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #02489C 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.