#123156

Closest named color: Prussian Blue (#1D3557). oklch(31.1% 0.076 254.6), rgb(18, 49, 86).

Aa

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

About this color

#123156 is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.076 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Prussian Blue (#1D3557), ΔE 0.019 away. White text reads best on it, at 13.12:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest namePrussian Blue (#1D3557)
Black text1.59:1
White text13.12:1

Values

HEX#123156
RGBrgb(18, 49, 86)
HSLhsl(213, 65%, 20%)
OKLCHoklch(31.1% 0.076 254.6)

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 #123156 13.12:1 AAA Lc -102.5 Preferred for body text
Black text on #123156 1.59:1 Fails Lc 0.0 Not readable
#123156 text on white 13.12:1 AAA Lc 99.2 Preferred for body text
#123156 text on black 1.59: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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DEEBFC

    oklch(93.5% 0.027 255.1)

  3. Step 200

    200

    #C3DBFA

    oklch(88.4% 0.05 254.9)

  4. Step 300

    300

    #99C4FA

    oklch(80.9% 0.09 254.4)

  5. Step 400

    400

    #5EA3F8

    oklch(70.8% 0.144 254.6)

  6. Step 500

    500

    #2689F5

    oklch(63.2% 0.184 254.5)

  7. Step 600

    600

    #0071D9

    oklch(55.6% 0.181 254.6)

  8. Step 700

    700

    #005FB8

    oklch(49.1% 0.16 254.6)

  9. Step 800

    800

    #004D98

    oklch(42.6% 0.139 254.8)

  10. Step 900

    900

    #03407F

    oklch(37.6% 0.121 254.9)

  11. Step 950

    950 (this color)

    #123156

    oklch(31.1% 0.076 254.6)

Export this scale for Tailwind in the Tailwind colors tool

#123156 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)#2034570.019
Deuteranopia (no green cones)#152D550.012
Tritanopia (no blue cones)#003A3F0.059
Achromatopsia (no color)#3030300.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #123156

    #123156

    oklch(31.1% 0.076 254.6)

  • #442B00

    #442B00

    oklch(31.2% 0.066 74.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #123156

    #123156

    oklch(31.1% 0.076 254.6)

  • #003647

    #003647

    oklch(31% 0.059 225.9)

  • #2D2A55

    #2D2A55

    oklch(31.2% 0.075 284.3)

Open the analogous palette in the generator

Split complementary

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

  • #123156

    #123156

    oklch(31.1% 0.076 254.6)

  • #4F220B

    #4F220B

    oklch(31.2% 0.076 45)

  • #363200

    #363200

    oklch(31.1% 0.066 104.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #123156

    #123156

    oklch(31.1% 0.076 254.6)

  • #501E24

    #501E24

    oklch(31.2% 0.075 15.2)

  • #1F390C

    #1F390C

    oklch(31.2% 0.077 134.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #123156

    #123156

    oklch(31.1% 0.076 254.6)

  • #4A1F3A

    #4A1F3A

    oklch(31.1% 0.075 343.8)

  • #442B00

    #442B00

    oklch(31.2% 0.066 74.8)

  • #003B28

    #003B28

    oklch(31.2% 0.066 164.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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