#242F81

Closest named color: Marine Blue (#01386A). oklch(35.2% 0.137 271.5), rgb(36, 47, 129).

Aa

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

About this color

#242F81 is a dark, moderately saturated blue. In OKLCH its lightness is 35%, its chroma 0.137 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Marine Blue (#01386A), ΔE 0.055 away. White text reads best on it, at 11.67:1.

Hue familyBlues
Lightnessdark (35%)
Chromamoderately saturated (0.137)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.79:1
White text11.67:1

Values

HEX#242F81
RGBrgb(36, 47, 129)
HSLhsl(233, 56%, 32%)
OKLCHoklch(35.2% 0.137 271.5)

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 #242F81 11.67:1 AAA Lc -100.1 Preferred for body text
Black text on #242F81 1.79:1 Fails Lc 7.5 Not readable
#242F81 text on white 11.67:1 AAA Lc 96.3 Preferred for body text
#242F81 text on black 1.79:1 Fails Lc 0.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 900.

  1. Step 50

    50

    #F2F5FF

    oklch(97.1% 0.014 272.7)

  2. Step 100

    100

    #E2E9FF

    oklch(93.5% 0.031 271.7)

  3. Step 200

    200

    #CBD8FF

    oklch(88.5% 0.056 270.7)

  4. Step 300

    300

    #AABDFF

    oklch(80.8% 0.096 271.7)

  5. Step 400

    400

    #7F98FF

    oklch(70.6% 0.153 271.7)

  6. Step 500

    500

    #617AFF

    oklch(63% 0.198 271.6)

  7. Step 600

    600

    #495BF6

    oklch(55.5% 0.23 271.5)

  8. Step 700

    700

    #3C49D6

    oklch(49% 0.213 271.7)

  9. Step 800

    800

    #313EAD

    oklch(42.8% 0.176 271.5)

  10. Step 900

    900 (this color)

    #242F81

    oklch(35.2% 0.137 271.5)

  11. Step 950

    950

    #182150

    oklch(27% 0.087 271.3)

Export this scale for Tailwind in the Tailwind colors tool

#242F81 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)#003D840.040
Deuteranopia (no green cones)#00347F0.029
Tritanopia (no blue cones)#0044530.111
Achromatopsia (no color)#3838380.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #242F81

    #242F81

    oklch(35.2% 0.137 271.5)

  • #493900

    #493900

    oklch(35.2% 0.072 91.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #242F81

    #242F81

    oklch(35.2% 0.137 271.5)

  • #003F62

    #003F62

    oklch(35.2% 0.083 241.6)

  • #492175

    #492175

    oklch(35.2% 0.137 301.5)

Open the analogous palette in the generator

Split complementary

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

  • #242F81

    #242F81

    oklch(35.2% 0.137 271.5)

  • #582F00

    #582F00

    oklch(35.1% 0.081 61.5)

  • #344100

    #344100

    oklch(35.1% 0.085 121.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #242F81

    #242F81

    oklch(35.2% 0.137 271.5)

  • #710C00

    #710C00

    oklch(35.1% 0.135 31.5)

  • #004820

    #004820

    oklch(35.2% 0.094 151.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #242F81

    #242F81

    oklch(35.2% 0.137 271.5)

  • #6E0536

    #6E0536

    oklch(35.1% 0.137 1.4)

  • #493900

    #493900

    oklch(35.2% 0.072 91.1)

  • #00453D

    #00453D

    oklch(35% 0.063 182)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #242F81 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.