#256AB7

Closest named color: Mid Blue (#276AB3). oklch(52.2% 0.139 254), rgb(37, 106, 183).

Aa

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

About this color

#256AB7 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 52%, its chroma 0.139 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.006 away. White text reads best on it, at 5.49:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.82:1
White text5.49:1

Values

HEX#256AB7
RGBrgb(37, 106, 183)
HSLhsl(212, 66%, 43%)
OKLCHoklch(52.2% 0.139 254)

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 #256AB7 5.49:1 AA Lc -82.3 Fine for body text
Black text on #256AB7 3.82:1 AA large text Lc 27.1 Dividers and decoration only
#256AB7 text on white 5.49:1 AA Lc 77.0 Fine for body text
#256AB7 text on black 3.82: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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C9DBF2

    oklch(88.5% 0.037 254.6)

  4. Step 300

    300

    #A3C4EC

    oklch(81% 0.067 253.5)

  5. Step 400

    400

    #70A4E2

    oklch(70.7% 0.107 253.5)

  6. Step 500

    500

    #498BDA

    oklch(63% 0.137 254.3)

  7. Step 600

    600

    #2874C8

    oklch(55.7% 0.149 254)

  8. Step 700

    700 (this color)

    #256AB7

    oklch(52.2% 0.139 254)

  9. Step 800

    800

    #194F8C

    oklch(42.7% 0.115 254.3)

  10. Step 900

    900

    #1B4270

    oklch(37.6% 0.091 254.4)

  11. Step 950

    950

    #112741

    oklch(26.9% 0.056 253.9)

Export this scale for Tailwind in the Tailwind colors tool

#256AB7 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)#4470BA0.034
Deuteranopia (no green cones)#2A63B50.019
Tritanopia (no blue cones)#007C870.105
Achromatopsia (no color)#6969690.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #256AB7

    #256AB7

    oklch(52.2% 0.139 254)

  • #8F5E00

    #8F5E00

    oklch(52.2% 0.111 73.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #256AB7

    #256AB7

    oklch(52.2% 0.139 254)

  • #007593

    #007593

    oklch(52.2% 0.098 223.8)

  • #625BB6

    #625BB6

    oklch(52.3% 0.139 284)

Open the analogous palette in the generator

Split complementary

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

  • #256AB7

    #256AB7

    oklch(52.2% 0.139 254)

  • #A84917

    #A84917

    oklch(52.2% 0.138 44.2)

  • #746C00

    #746C00

    oklch(52.2% 0.11 104.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #256AB7

    #256AB7

    oklch(52.2% 0.139 254)

  • #AA4051

    #AA4051

    oklch(52.2% 0.139 13.7)

  • #457A15

    #457A15

    oklch(52.3% 0.14 134.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #256AB7

    #256AB7

    oklch(52.2% 0.139 254)

  • #9E437D

    #9E437D

    oklch(52.2% 0.139 343.9)

  • #8F5E00

    #8F5E00

    oklch(52.2% 0.111 73.8)

  • #007D58

    #007D58

    oklch(52.2% 0.111 164.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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