#256F9D

Closest named color: Ocean Blue (#03719C). oklch(51.8% 0.102 240.5), rgb(37, 111, 157).

Aa

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

About this color

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

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

Values

HEX#256F9D
RGBrgb(37, 111, 157)
HSLhsl(203, 62%, 38%)
OKLCHoklch(51.8% 0.102 240.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 #256F9D 5.46:1 AA Lc -82.3 Fine for body text
Black text on #256F9D 3.83:1 AA large text Lc 27.1 Dividers and decoration only
#256F9D text on white 5.46:1 AA Lc 77.0 Fine for body text
#256F9D text on black 3.83:1 AA large text Lc -24.8 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

    #E2EBF3

    oklch(93.6% 0.015 244.7)

  3. Step 200

    200

    #CADCEA

    oklch(88.5% 0.027 241.2)

  4. Step 300

    300

    #A5C5DE

    oklch(80.8% 0.049 241.8)

  5. Step 400

    400

    #73A7CD

    oklch(70.6% 0.078 241)

  6. Step 500

    500

    #4B91C0

    oklch(63.1% 0.1 240.3)

  7. Step 600

    600

    #297AAD

    oklch(55.5% 0.11 240.9)

  8. Step 700

    700 (this color)

    #256F9D

    oklch(51.8% 0.102 240.5)

  9. Step 800

    800

    #1A5478

    oklch(42.7% 0.084 240.5)

  10. Step 900

    900

    #1C4661

    oklch(37.8% 0.066 240)

  11. Step 950

    950

    #122939

    oklch(27% 0.042 241)

Export this scale for Tailwind in the Tailwind colors tool

#256F9D 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)#59709F0.051
Deuteranopia (no green cones)#49649C0.042
Tritanopia (no blue cones)#007A7F0.068
Achromatopsia (no color)#6969690.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #256F9D

    #256F9D

    oklch(51.8% 0.102 240.5)

  • #925922

    #925922

    oklch(51.8% 0.102 60.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #256F9D

    #256F9D

    oklch(51.8% 0.102 240.5)

  • #007685

    #007685

    oklch(51.8% 0.09 210.1)

  • #5264A3

    #5264A3

    oklch(51.8% 0.102 270.5)

Open the analogous palette in the generator

Split complementary

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

  • #256F9D

    #256F9D

    oklch(51.8% 0.102 240.5)

  • #9A5044

    #9A5044

    oklch(51.8% 0.101 30.5)

  • #7F650D

    #7F650D

    oklch(51.8% 0.102 90.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #256F9D

    #256F9D

    oklch(51.8% 0.102 240.5)

  • #974D65

    #974D65

    oklch(51.8% 0.102 0.7)

  • #617126

    #617126

    oklch(51.9% 0.101 120.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #256F9D

    #256F9D

    oklch(51.8% 0.102 240.5)

  • #895184

    #895184

    oklch(51.8% 0.103 330.2)

  • #925922

    #925922

    oklch(51.8% 0.102 60.9)

  • #367949

    #367949

    oklch(51.9% 0.102 150.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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