#242F63

Closest named color: Prussian Blue (#1D3557). oklch(32.6% 0.092 271.4), rgb(36, 47, 99).

Aa

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

About this color

#242F63 is a dark, moderately saturated blue. In OKLCH its lightness is 33%, its chroma 0.092 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.031 away. White text reads best on it, at 12.63:1.

Hue familyBlues
Lightnessdark (33%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.66:1
White text12.63:1

Values

HEX#242F63
RGBrgb(36, 47, 99)
HSLhsl(230, 47%, 26%)
OKLCHoklch(32.6% 0.092 271.4)

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 #242F63 12.63:1 AAA Lc -101.8 Preferred for body text
Black text on #242F63 1.66:1 Fails Lc 0.0 Not readable
#242F63 text on white 12.63:1 AAA Lc 98.4 Preferred for body text
#242F63 text on black 1.66: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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F8

    oklch(93.5% 0.021 274)

  3. Step 200

    200

    #D0D8F3

    oklch(88.5% 0.038 272.5)

  4. Step 300

    300

    #B0BFEE

    oklch(80.9% 0.069 271)

  5. Step 400

    400

    #889CE6

    oklch(70.7% 0.111 271.8)

  6. Step 500

    500

    #6B82DF

    oklch(63.1% 0.142 271.4)

  7. Step 600

    600

    #5469CC

    oklch(55.5% 0.154 271.5)

  8. Step 700

    700

    #4557B1

    oklch(49.1% 0.144 271.6)

  9. Step 800

    800

    #38488F

    oklch(42.7% 0.118 271.1)

  10. Step 900

    900 (this color)

    #242F63

    oklch(32.6% 0.092 271.4)

  11. Step 950

    950

    #1C2443

    oklch(27% 0.059 271.1)

Export this scale for Tailwind in the Tailwind colors tool

#242F63 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)#1436650.025
Deuteranopia (no green cones)#0830620.028
Tritanopia (no blue cones)#003B440.081
Achromatopsia (no color)#3333330.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #242F63

    #242F63

    oklch(32.6% 0.092 271.4)

  • #413300

    #413300

    oklch(32.7% 0.067 91.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #242F63

    #242F63

    oklch(32.6% 0.092 271.4)

  • #003858

    #003858

    oklch(32.6% 0.077 241.8)

  • #3D265B

    #3D265B

    oklch(32.5% 0.093 301.5)

Open the analogous palette in the generator

Split complementary

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

  • #242F63

    #242F63

    oklch(32.6% 0.092 271.4)

  • #4F2A00

    #4F2A00

    oklch(32.7% 0.075 62.1)

  • #2E3A00

    #2E3A00

    oklch(32.6% 0.079 121.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #242F63

    #242F63

    oklch(32.6% 0.092 271.4)

  • #5B1D14

    #5B1D14

    oklch(32.7% 0.093 30.9)

  • #00401C

    #00401C

    oklch(32.5% 0.086 151.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #242F63

    #242F63

    oklch(32.6% 0.092 271.4)

  • #581B31

    #581B31

    oklch(32.6% 0.092 1.4)

  • #413300

    #413300

    oklch(32.7% 0.067 91.9)

  • #003E36

    #003E36

    oklch(32.6% 0.059 180.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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