#256F9B

Closest named color: Ocean Blue (#03719C). oklch(51.7% 0.099 239.4), rgb(37, 111, 155).

Aa

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

About this color

#256F9B is a medium-dark, moderately saturated blue. In OKLCH its lightness is 52%, its chroma 0.099 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean Blue (#03719C), ΔE 0.012 away. White text reads best on it, at 5.48:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.099)
Temperaturecool
Nearest nameOcean Blue (#03719C)
Black text3.82:1
White text5.48:1

Values

HEX#256F9B
RGBrgb(37, 111, 155)
HSLhsl(202, 61%, 38%)
OKLCHoklch(51.7% 0.099 239.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 #256F9B 5.48:1 AA Lc -82.4 Fine for body text
Black text on #256F9B 3.82:1 AA large text Lc 27.0 Dividers and decoration only
#256F9B text on white 5.48:1 AA Lc 77.1 Fine for body text
#256F9B text on black 3.82:1 AA large text Lc -24.7 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E2EBF2

    oklch(93.5% 0.014 241)

  3. Step 200

    200

    #CADCE9

    oklch(88.5% 0.026 239.1)

  4. Step 300

    300

    #A5C6DD

    oklch(81% 0.048 238.6)

  5. Step 400

    400

    #73A8CC

    oklch(70.8% 0.077 239)

  6. Step 500

    500

    #4B91BF

    oklch(63% 0.099 239.7)

  7. Step 600

    600

    #2A7BAB

    oklch(55.7% 0.107 239.2)

  8. Step 700

    700 (this color)

    #256F9B

    oklch(51.7% 0.099 239.4)

  9. Step 800

    800

    #1A5477

    oklch(42.6% 0.082 239.7)

  10. Step 900

    900

    #1C4660

    oklch(37.7% 0.064 238.9)

  11. Step 950

    950

    #122938

    oklch(27% 0.04 239.2)

Export this scale for Tailwind in the Tailwind colors tool

#256F9B 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)#5A6F9D0.052
Deuteranopia (no green cones)#4A649A0.043
Tritanopia (no blue cones)#007A7E0.067
Achromatopsia (no color)#6969690.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #256F9B

    #256F9B

    oklch(51.7% 0.099 239.4)

  • #925926

    #925926

    oklch(51.9% 0.1 59.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #256F9B

    #256F9B

    oklch(51.7% 0.099 239.4)

  • #007684

    #007684

    oklch(51.8% 0.089 209.2)

  • #5165A1

    #5165A1

    oklch(51.8% 0.098 268.8)

Open the analogous palette in the generator

Split complementary

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

  • #256F9B

    #256F9B

    oklch(51.7% 0.099 239.4)

  • #995046

    #995046

    oklch(51.7% 0.099 29.1)

  • #7F6512

    #7F6512

    oklch(51.8% 0.1 89.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #256F9B

    #256F9B

    oklch(51.7% 0.099 239.4)

  • #954E66

    #954E66

    oklch(51.7% 0.099 359.6)

  • #627026

    #627026

    oklch(51.8% 0.1 119.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #256F9B

    #256F9B

    oklch(51.7% 0.099 239.4)

  • #875284

    #875284

    oklch(51.7% 0.099 328.9)

  • #925926

    #925926

    oklch(51.9% 0.1 59.3)

  • #397848

    #397848

    oklch(51.8% 0.1 149.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #256F9B 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.