#023256

Closest named color: Marine (#042E60). oklch(30.9% 0.08 247.6), rgb(2, 50, 86).

Aa

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

About this color

#023256 is a dark, moderately saturated blue. In OKLCH its lightness is 31%, its chroma 0.080 and its hue 248°. 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 13.18:1.

Hue familyBlues
Lightnessdark (31%)
Chromamoderately saturated (0.080)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.59:1
White text13.18:1

Values

HEX#023256
RGBrgb(2, 50, 86)
HSLhsl(206, 95%, 17%)
OKLCHoklch(30.9% 0.08 247.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 #023256 13.18:1 AAA Lc -102.4 Preferred for body text
Black text on #023256 1.59:1 Fails Lc 0.0 Not readable
#023256 text on white 13.18:1 AAA Lc 99.1 Preferred for body text
#023256 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

    #EFF6FE

    oklch(97% 0.013 251.6)

  2. Step 100

    100

    #DCECFC

    oklch(93.6% 0.028 248.1)

  3. Step 200

    200

    #BEDDFB

    oklch(88.5% 0.053 247.6)

  4. Step 300

    300

    #8EC7FB

    oklch(81% 0.095 246.8)

  5. Step 400

    400

    #44A7FA

    oklch(70.8% 0.152 247.5)

  6. Step 500

    500

    #008EE8

    oklch(63% 0.168 247.5)

  7. Step 600

    600

    #0077C4

    oklch(55.5% 0.148 247.6)

  8. Step 700

    700

    #0064A6

    oklch(49.1% 0.131 247.6)

  9. Step 800

    800

    #005289

    oklch(42.7% 0.113 247.3)

  10. Step 900

    900

    #004473

    oklch(37.7% 0.1 247.4)

  11. Step 950

    950 (this color)

    #023256

    oklch(30.9% 0.08 247.6)

Export this scale for Tailwind in the Tailwind colors tool

#023256 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.028
Deuteranopia (no green cones)#132D550.018
Tritanopia (no blue cones)#003B3F0.058
Achromatopsia (no color)#3030300.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #023256

    #023256

    oklch(30.9% 0.08 247.6)

  • #462800

    #462800

    oklch(30.8% 0.068 67.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #023256

    #023256

    oklch(30.9% 0.08 247.6)

  • #003742

    #003742

    oklch(31% 0.055 215.9)

  • #272A58

    #272A58

    oklch(30.9% 0.081 277.7)

Open the analogous palette in the generator

Split complementary

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

  • #023256

    #023256

    oklch(30.9% 0.08 247.6)

  • #511E0F

    #511E0F

    oklch(30.9% 0.081 37)

  • #393000

    #393000

    oklch(31% 0.064 97.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #023256

    #023256

    oklch(30.9% 0.08 247.6)

  • #501B29

    #501B29

    oklch(30.8% 0.081 6.8)

  • #243700

    #243700

    oklch(30.9% 0.081 127.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #023256

    #023256

    oklch(30.9% 0.08 247.6)

  • #491E3E

    #491E3E

    oklch(31% 0.08 338.2)

  • #462800

    #462800

    oklch(30.8% 0.068 67.6)

  • #003B21

    #003B21

    oklch(31% 0.073 157.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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