#122857

Closest named color: Marine (#042E60). oklch(28.9% 0.09 263.1), rgb(18, 40, 87).

Aa

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

About this color

#122857 is a dark, moderately saturated blue. In OKLCH its lightness is 29%, its chroma 0.090 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.023 away. White text reads best on it, at 14.31:1.

Hue familyBlues
Lightnessdark (29%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.46:1
White text14.31:1

Values

HEX#122857
RGBrgb(18, 40, 87)
HSLhsl(221, 66%, 21%)
OKLCHoklch(28.9% 0.09 263.1)

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 #122857 14.31:1 AAA Lc -103.8 Preferred for body text
Black text on #122857 1.46:1 Fails Lc 0.0 Not readable
#122857 text on white 14.31:1 AAA Lc 100.8 Preferred for body text
#122857 text on black 1.46: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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #DFEAFF

    oklch(93.5% 0.031 263.5)

  3. Step 200

    200

    #C6DAFF

    oklch(88.5% 0.056 262.8)

  4. Step 300

    300

    #A0C1FF

    oklch(80.9% 0.095 262.7)

  5. Step 400

    400

    #6D9EFF

    oklch(70.8% 0.152 262.8)

  6. Step 500

    500

    #4681FF

    oklch(63.1% 0.198 263.1)

  7. Step 600

    600

    #2062FA

    oklch(55.6% 0.236 263.2)

  8. Step 700

    700

    #1350DA

    oklch(49.2% 0.219 263)

  9. Step 800

    800

    #1342B0

    oklch(42.6% 0.182 263.3)

  10. Step 900

    900

    #163A8B

    oklch(37.7% 0.141 263.2)

  11. Step 950

    950 (this color)

    #122857

    oklch(28.9% 0.09 263.1)

Export this scale for Tailwind in the Tailwind colors tool

#122857 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)#0C2E590.018
Deuteranopia (no green cones)#0027560.016
Tritanopia (no blue cones)#00333B0.071
Achromatopsia (no color)#2A2A2A0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #122857

    #122857

    oklch(28.9% 0.09 263.1)

  • #392800

    #392800

    oklch(28.9% 0.059 83.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #122857

    #122857

    oklch(28.9% 0.09 263.1)

  • #003044

    #003044

    oklch(29.1% 0.06 232.5)

  • #2E1F53

    #2E1F53

    oklch(28.9% 0.091 293.2)

Open the analogous palette in the generator

Split complementary

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

  • #122857

    #122857

    oklch(28.9% 0.09 263.1)

  • #461F00

    #461F00

    oklch(29% 0.073 53.9)

  • #2C2E00

    #2C2E00

    oklch(28.9% 0.064 112.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #122857

    #122857

    oklch(28.9% 0.09 263.1)

  • #4F1315

    #4F1315

    oklch(29% 0.09 22.9)

  • #053606

    #053606

    oklch(29.1% 0.091 143.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #122857

    #122857

    oklch(28.9% 0.09 263.1)

  • #4A132F

    #4A132F

    oklch(28.9% 0.089 352.7)

  • #392800

    #392800

    oklch(28.9% 0.059 83.9)

  • #003429

    #003429

    oklch(29% 0.055 173.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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