#256AD6

Closest named color: Royal Blue (#4169E1). oklch(54.4% 0.18 259.5), rgb(37, 106, 214).

Aa

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

About this color

#256AD6 is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.180 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.029 away. White text reads best on it, at 5.10:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromavivid (0.180)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.11:1
White text5.10:1

Values

HEX#256AD6
RGBrgb(37, 106, 214)
HSLhsl(217, 71%, 49%)
OKLCHoklch(54.4% 0.18 259.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 #256AD6 5.10:1 AA Lc -80.1 Fine for body text
Black text on #256AD6 4.11:1 AA large text Lc 29.4 Dividers and decoration only
#256AD6 text on white 5.10:1 AA Lc 74.7 Content text, not long reading
#256AD6 text on black 4.11:1 AA large text Lc -27.0 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 600.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EBFA

    oklch(93.7% 0.023 258.4)

  3. Step 200

    200

    #C8DAF8

    oklch(88.4% 0.046 260.7)

  4. Step 300

    300

    #A2C2F5

    oklch(80.9% 0.081 259.6)

  5. Step 400

    400

    #6FA1F1

    oklch(70.8% 0.13 259.5)

  6. Step 500

    500

    #4887EC

    oklch(63.2% 0.165 259.5)

  7. Step 600

    600 (this color)

    #256AD6

    oklch(54.4% 0.18 259.5)

  8. Step 700

    700

    #1C5BBD

    oklch(49.1% 0.167 259.5)

  9. Step 800

    800

    #194B99

    oklch(42.7% 0.138 259.4)

  10. Step 900

    900

    #1B3F7A

    oklch(37.6% 0.109 259.8)

  11. Step 950

    950

    #112647

    oklch(27.1% 0.067 259.1)

Export this scale for Tailwind in the Tailwind colors tool

#256AD6 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)#2376DA0.031
Deuteranopia (no green cones)#0066D40.019
Tritanopia (no blue cones)#0084960.137
Achromatopsia (no color)#6E6E6E0.180

Harmonies

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

Complementary

The opposite hue (180°).

  • #256AD6

    #256AD6

    oklch(54.4% 0.18 259.5)

  • #926700

    #926700

    oklch(54.4% 0.113 79.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #256AD6

    #256AD6

    oklch(54.4% 0.18 259.5)

  • #007AA2

    #007AA2

    oklch(54.3% 0.108 230.1)

  • #7155CF

    #7155CF

    oklch(54.3% 0.18 289.6)

Open the analogous palette in the generator

Split complementary

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

  • #256AD6

    #256AD6

    oklch(54.4% 0.18 259.5)

  • #B05000

    #B05000

    oklch(54.4% 0.145 49.4)

  • #757500

    #757500

    oklch(54.4% 0.119 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #256AD6

    #256AD6

    oklch(54.4% 0.18 259.5)

  • #C23243

    #C23243

    oklch(54.3% 0.18 19.4)

  • #2B8600

    #2B8600

    oklch(54.4% 0.173 139.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #256AD6

    #256AD6

    oklch(54.4% 0.18 259.5)

  • #B6357F

    #B6357F

    oklch(54.3% 0.18 349.5)

  • #926700

    #926700

    oklch(54.4% 0.113 79.9)

  • #008365

    #008365

    oklch(54.2% 0.108 169.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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