#242856

Closest named color: Marine (#042E60). oklch(30% 0.082 276.5), rgb(36, 40, 86).

Aa

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

About this color

#242856 is a dark, moderately saturated blue. In OKLCH its lightness is 30%, its chroma 0.082 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.037 away. White text reads best on it, at 13.88:1.

Hue familyBlues
Lightnessdark (30%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.51:1
White text13.88:1

Values

HEX#242856
RGBrgb(36, 40, 86)
HSLhsl(235, 41%, 24%)
OKLCHoklch(30% 0.082 276.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 #242856 13.88:1 AAA Lc -103.4 Preferred for body text
Black text on #242856 1.51:1 Fails Lc 0.0 Not readable
#242856 text on white 13.88:1 AAA Lc 100.3 Preferred for body text
#242856 text on black 1.51: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 950.

  1. Step 50

    50

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FD

    oklch(93.6% 0.028 274.7)

  3. Step 200

    200

    #CFD7FD

    oklch(88.5% 0.053 275.9)

  4. Step 300

    300

    #B0BBFF

    oklch(80.8% 0.097 276.9)

  5. Step 400

    400

    #8995FF

    oklch(70.7% 0.154 276.8)

  6. Step 500

    500

    #6E76FE

    oklch(63% 0.199 276.5)

  7. Step 600

    600

    #595AED

    oklch(55.5% 0.216 276.5)

  8. Step 700

    700

    #4A49CF

    oklch(49.2% 0.201 276.4)

  9. Step 800

    800

    #3C3DA7

    oklch(42.7% 0.166 276.4)

  10. Step 900

    900

    #323684

    oklch(37.7% 0.129 276.1)

  11. Step 950

    950 (this color)

    #242856

    oklch(30% 0.082 276.5)

Export this scale for Tailwind in the Tailwind colors tool

#242856 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)#122F580.028
Deuteranopia (no green cones)#0C2A550.029
Tritanopia (no blue cones)#0D323B0.071
Achromatopsia (no color)#2C2C2C0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #242856

    #242856

    oklch(30% 0.082 276.5)

  • #372D00

    #372D00

    oklch(29.9% 0.062 95.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #242856

    #242856

    oklch(30% 0.082 276.5)

  • #003052

    #003052

    oklch(30% 0.078 246.3)

  • #38214E

    #38214E

    oklch(30% 0.082 305.6)

Open the analogous palette in the generator

Split complementary

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

  • #242856

    #242856

    oklch(30% 0.082 276.5)

  • #442600

    #442600

    oklch(30.1% 0.067 66.4)

  • #243400

    #243400

    oklch(30% 0.076 126.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #242856

    #242856

    oklch(30% 0.082 276.5)

  • #4F1B0C

    #4F1B0C

    oklch(30% 0.082 36.6)

  • #00381E

    #00381E

    oklch(30% 0.072 156.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #242856

    #242856

    oklch(30% 0.082 276.5)

  • #4E1827

    #4E1827

    oklch(30% 0.082 6.5)

  • #372D00

    #372D00

    oklch(29.9% 0.062 95.8)

  • #003632

    #003632

    oklch(30% 0.052 186.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #242856 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.