#0242A0

Closest named color: Sapphire (#2138AB). oklch(40.8% 0.163 259.9), rgb(2, 66, 160).

Aa

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

About this color

#0242A0 is a dark, vivid blue. In OKLCH its lightness is 41%, its chroma 0.163 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Sapphire (#2138AB), ΔE 0.032 away. White text reads best on it, at 9.17:1.

Hue familyBlues
Lightnessdark (41%)
Chromavivid (0.163)
Temperaturecool
Nearest nameSapphire (#2138AB)
Black text2.28:1
White text9.17:1

Values

HEX#0242A0
RGBrgb(2, 66, 160)
HSLhsl(216, 98%, 32%)
OKLCHoklch(40.8% 0.163 259.9)

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 #0242A0 9.17:1 AAA Lc -94.7 Preferred for body text
Black text on #0242A0 2.28:1 Fails Lc 13.7 Not readable
#0242A0 text on white 9.17:1 AAA Lc 90.3 Preferred for body text
#0242A0 text on black 2.28:1 Fails Lc -12.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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C5DAFD

    oklch(88.4% 0.054 260.6)

  4. Step 300

    300

    #9CC2FF

    oklch(80.9% 0.096 259.7)

  5. Step 400

    400

    #669FFF

    oklch(70.7% 0.154 260.3)

  6. Step 500

    500

    #3A84FD

    oklch(63.2% 0.195 259.9)

  7. Step 600

    600

    #1369EC

    oklch(55.5% 0.212 260)

  8. Step 700

    700

    #0257CE

    oklch(49.2% 0.197 259.8)

  9. Step 800

    800 (this color)

    #0242A0

    oklch(40.8% 0.163 259.9)

  10. Step 900

    900

    #123D84

    oklch(37.6% 0.129 260.1)

  11. Step 950

    950

    #0C254D

    oklch(27.1% 0.08 259.5)

Export this scale for Tailwind in the Tailwind colors tool

#0242A0 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)#004FA30.035
Deuteranopia (no green cones)#00419E0.004
Tritanopia (no blue cones)#005A6A0.124
Achromatopsia (no color)#4848480.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #0242A0

    #0242A0

    oklch(40.8% 0.163 259.9)

  • #624400

    #624400

    oklch(40.9% 0.085 80)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0242A0

    #0242A0

    oklch(40.8% 0.163 259.9)

  • #00516D

    #00516D

    oklch(40.7% 0.081 230.1)

  • #4D2F9A

    #4D2F9A

    oklch(40.8% 0.164 290)

Open the analogous palette in the generator

Split complementary

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

  • #0242A0

    #0242A0

    oklch(40.8% 0.163 259.9)

  • #763400

    #763400

    oklch(40.8% 0.108 50)

  • #4D4D00

    #4D4D00

    oklch(40.7% 0.089 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0242A0

    #0242A0

    oklch(40.8% 0.163 259.9)

  • #8D0122

    #8D0122

    oklch(40.8% 0.163 19.7)

  • #175A00

    #175A00

    oklch(41% 0.132 140)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0242A0

    #0242A0

    oklch(40.8% 0.163 259.9)

  • #840A56

    #840A56

    oklch(40.9% 0.163 350.1)

  • #624400

    #624400

    oklch(40.9% 0.085 80)

  • #005843

    #005843

    oklch(40.9% 0.081 169.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #0242A0.

Similar named colors

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

Use #0242A0 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.