#242F77

Closest named color: Marine Blue (#01386A). oklch(34.3% 0.123 271.7), rgb(36, 47, 119).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (34%)
Chromamoderately saturated (0.123)
Temperaturecool
Nearest nameMarine Blue (#01386A)
Black text1.74:1
White text12.01:1

Values

HEX#242F77
RGBrgb(36, 47, 119)
HSLhsl(232, 54%, 30%)
OKLCHoklch(34.3% 0.123 271.7)

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 #242F77 12.01:1 AAA Lc -100.7 Preferred for body text
Black text on #242F77 1.74:1 Fails Lc 0.0 Not readable
#242F77 text on white 12.01:1 AAA Lc 97.1 Preferred for body text
#242F77 text on black 1.74: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

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3E9FC

    oklch(93.5% 0.027 271.9)

  3. Step 200

    200

    #CDD8FC

    oklch(88.5% 0.051 271.9)

  4. Step 300

    300

    #ABBEFD

    oklch(81% 0.092 271.3)

  5. Step 400

    400

    #8099FC

    oklch(70.7% 0.148 271.5)

  6. Step 500

    500

    #637CFA

    oklch(63.2% 0.189 271.6)

  7. Step 600

    600

    #4D61E9

    oklch(55.7% 0.205 271.6)

  8. Step 700

    700

    #3F4FCA

    oklch(49.1% 0.19 271.8)

  9. Step 800

    800

    #3341A4

    oklch(42.6% 0.159 271.7)

  10. Step 900

    900 (this color)

    #242F77

    oklch(34.3% 0.123 271.7)

  11. Step 950

    950

    #1A224C

    oklch(27.1% 0.078 272.1)

Export this scale for Tailwind in the Tailwind colors tool

#242F77 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)#003A790.036
Deuteranopia (no green cones)#0033760.030
Tritanopia (no blue cones)#00414E0.101
Achromatopsia (no color)#3636360.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #242F77

    #242F77

    oklch(34.3% 0.123 271.7)

  • #463700

    #463700

    oklch(34.3% 0.07 91.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #242F77

    #242F77

    oklch(34.3% 0.123 271.7)

  • #003C5E

    #003C5E

    oklch(34.1% 0.081 241.9)

  • #45236C

    #45236C

    oklch(34.3% 0.122 301.7)

Open the analogous palette in the generator

Split complementary

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

  • #242F77

    #242F77

    oklch(34.3% 0.123 271.7)

  • #552D00

    #552D00

    oklch(34.2% 0.079 61.3)

  • #323F00

    #323F00

    oklch(34.4% 0.083 121.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #242F77

    #242F77

    oklch(34.3% 0.123 271.7)

  • #6A1305

    #6A1305

    oklch(34.3% 0.123 32)

  • #00451F

    #00451F

    oklch(34.2% 0.09 151.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #242F77

    #242F77

    oklch(34.3% 0.123 271.7)

  • #670F34

    #670F34

    oklch(34.2% 0.123 1.6)

  • #463700

    #463700

    oklch(34.3% 0.07 91.8)

  • #00433B

    #00433B

    oklch(34.3% 0.062 181.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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