#2256B8

Closest named color: Blue Blue (#2242C7). oklch(47.8% 0.165 261.5), rgb(34, 86, 184).

Aa

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

About this color

#2256B8 is a medium-dark, vivid blue. In OKLCH its lightness is 48%, its chroma 0.165 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.053 away. White text reads best on it, at 6.79:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromavivid (0.165)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text3.09:1
White text6.79:1

Values

HEX#2256B8
RGBrgb(34, 86, 184)
HSLhsl(219, 69%, 43%)
OKLCHoklch(47.8% 0.165 261.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 #2256B8 6.79:1 AA Lc -87.9 Fine for body text
Black text on #2256B8 3.09:1 AA large text Lc 21.1 Dividers and decoration only
#2256B8 text on white 6.79:1 AA Lc 82.9 Fine for body text
#2256B8 text on black 3.09:1 AA large text Lc -19.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 700.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EAFA

    oklch(93.5% 0.024 262.1)

  3. Step 200

    200

    #C9DAF7

    oklch(88.5% 0.044 261.2)

  4. Step 300

    300

    #A4C1F5

    oklch(80.8% 0.081 261.9)

  5. Step 400

    400

    #73A0F0

    oklch(70.7% 0.128 261.3)

  6. Step 500

    500

    #4F86EB

    oklch(63.2% 0.163 261.4)

  7. Step 600

    600

    #336DD9

    oklch(55.7% 0.177 261.4)

  8. Step 700

    700 (this color)

    #2256B8

    oklch(47.8% 0.165 261.5)

  9. Step 800

    800

    #214A98

    oklch(42.7% 0.136 261.7)

  10. Step 900

    900

    #1F3F79

    oklch(37.7% 0.106 261.2)

  11. Step 950

    950

    #132547

    oklch(26.9% 0.068 261.9)

Export this scale for Tailwind in the Tailwind colors tool

#2256B8 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)#0762BB0.031
Deuteranopia (no green cones)#0055B60.016
Tritanopia (no blue cones)#006E7E0.128
Achromatopsia (no color)#5B5B5B0.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #2256B8

    #2256B8

    oklch(47.8% 0.165 261.5)

  • #795600

    #795600

    oklch(47.8% 0.099 81.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2256B8

    #2256B8

    oklch(47.8% 0.165 261.5)

  • #00668A

    #00668A

    oklch(47.9% 0.097 231.5)

  • #6244B0

    #6244B0

    oklch(47.9% 0.164 291.8)

Open the analogous palette in the generator

Split complementary

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

  • #2256B8

    #2256B8

    oklch(47.8% 0.165 261.5)

  • #914400

    #914400

    oklch(47.7% 0.123 51.6)

  • #5F6200

    #5F6200

    oklch(47.7% 0.106 111.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2256B8

    #2256B8

    oklch(47.8% 0.165 261.5)

  • #A62430

    #A62430

    oklch(47.8% 0.165 21.7)

  • #107100

    #107100

    oklch(47.7% 0.159 141.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2256B8

    #2256B8

    oklch(47.8% 0.165 261.5)

  • #9C2667

    #9C2667

    oklch(47.7% 0.165 351.6)

  • #795600

    #795600

    oklch(47.8% 0.099 81.2)

  • #006E56

    #006E56

    oklch(47.9% 0.094 170.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2256B8 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.