#256C98

Closest named color: Ocean Blue (#03719C). oklch(50.8% 0.098 240.3), rgb(37, 108, 152).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.098)
Temperaturecool
Nearest nameOcean Blue (#03719C)
Black text3.67:1
White text5.71:1

Values

HEX#256C98
RGBrgb(37, 108, 152)
HSLhsl(203, 61%, 37%)
OKLCHoklch(50.8% 0.098 240.3)

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 #256C98 5.71:1 AA Lc -83.5 Fine for body text
Black text on #256C98 3.67:1 AA large text Lc 25.8 Dividers and decoration only
#256C98 text on white 5.71:1 AA Lc 78.3 Fine for body text
#256C98 text on black 3.67:1 AA large text Lc -23.5 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

    #A6C5DD

    oklch(80.9% 0.048 241.5)

  5. Step 400

    400

    #74A7CC

    oklch(70.6% 0.077 240.7)

  6. Step 500

    500

    #4D91BE

    oklch(63.1% 0.097 239.8)

  7. Step 600

    600

    #2D7AAB

    oklch(55.5% 0.106 240.7)

  8. Step 700

    700 (this color)

    #256C98

    oklch(50.8% 0.098 240.3)

  9. Step 800

    800

    #1C5477

    oklch(42.7% 0.082 240.3)

  10. Step 900

    900

    #1E4660

    oklch(37.8% 0.063 239.9)

  11. Step 950

    950

    #132938

    oklch(27% 0.04 240.2)

Export this scale for Tailwind in the Tailwind colors tool

#256C98 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)#576C9A0.050
Deuteranopia (no green cones)#4862970.040
Tritanopia (no blue cones)#00777B0.067
Achromatopsia (no color)#6666660.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #256C98

    #256C98

    oklch(50.8% 0.098 240.3)

  • #8E5723

    #8E5723

    oklch(50.9% 0.098 60.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #256C98

    #256C98

    oklch(50.8% 0.098 240.3)

  • #007382

    #007382

    oklch(50.9% 0.088 210.5)

  • #50629E

    #50629E

    oklch(50.9% 0.098 270)

Open the analogous palette in the generator

Split complementary

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

  • #256C98

    #256C98

    oklch(50.8% 0.098 240.3)

  • #964E43

    #964E43

    oklch(50.9% 0.099 30)

  • #7B6210

    #7B6210

    oklch(50.7% 0.098 90)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #256C98

    #256C98

    oklch(50.8% 0.098 240.3)

  • #924C63

    #924C63

    oklch(50.8% 0.097 0.2)

  • #5E6E26

    #5E6E26

    oklch(50.9% 0.099 120.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #256C98

    #256C98

    oklch(50.8% 0.098 240.3)

  • #855080

    #855080

    oklch(50.9% 0.097 330.3)

  • #8E5723

    #8E5723

    oklch(50.9% 0.098 60.6)

  • #367547

    #367547

    oklch(50.8% 0.098 150.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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