#2256AA

Closest named color: Dusk Blue (#26538D). oklch(46.7% 0.146 259.7), rgb(34, 86, 170).

Aa

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

About this color

#2256AA is a medium-dark, vivid blue. In OKLCH its lightness is 47%, its chroma 0.146 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk Blue (#26538D), ΔE 0.047 away. White text reads best on it, at 7.04:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromavivid (0.146)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.97:1
White text7.04:1

Values

HEX#2256AA
RGBrgb(34, 86, 170)
HSLhsl(217, 67%, 40%)
OKLCHoklch(46.7% 0.146 259.7)

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 #2256AA 7.04:1 AAA Lc -88.9 Fine for body text
Black text on #2256AA 2.97:1 Fails Lc 20.1 Dividers and decoration only
#2256AA text on white 7.04:1 AAA Lc 84.0 Fine for body text
#2256AA text on black 2.97:1 Fails Lc -18.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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF8

    oklch(93.5% 0.021 261.8)

  3. Step 200

    200

    #CADAF4

    oklch(88.4% 0.04 260.1)

  4. Step 300

    300

    #A6C2EF

    oklch(80.9% 0.071 259.8)

  5. Step 400

    400

    #76A1E7

    oklch(70.7% 0.113 259.8)

  6. Step 500

    500

    #5288E0

    oklch(63.1% 0.145 259.7)

  7. Step 600

    600

    #3770CD

    oklch(55.6% 0.156 259.7)

  8. Step 700

    700 (this color)

    #2256AA

    oklch(46.7% 0.146 259.7)

  9. Step 800

    800

    #234D90

    oklch(42.8% 0.12 259.4)

  10. Step 900

    900

    #214073

    oklch(37.6% 0.095 259.8)

  11. Step 950

    950

    #142643

    oklch(27% 0.059 259.5)

Export this scale for Tailwind in the Tailwind colors tool

#2256AA 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)#245FAD0.025
Deuteranopia (no green cones)#0053A80.019
Tritanopia (no blue cones)#006A780.112
Achromatopsia (no color)#5959590.146

Harmonies

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

Complementary

The opposite hue (180°).

  • #2256AA

    #2256AA

    oklch(46.7% 0.146 259.7)

  • #765300

    #765300

    oklch(46.8% 0.097 80.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2256AA

    #2256AA

    oklch(46.7% 0.146 259.7)

  • #006384

    #006384

    oklch(46.8% 0.093 229.9)

  • #5B46A5

    #5B46A5

    oklch(46.7% 0.147 289.7)

Open the analogous palette in the generator

Split complementary

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

  • #2256AA

    #2256AA

    oklch(46.7% 0.146 259.7)

  • #8F4000

    #8F4000

    oklch(46.8% 0.124 49.6)

  • #5E5E00

    #5E5E00

    oklch(46.7% 0.102 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2256AA

    #2256AA

    oklch(46.7% 0.146 259.7)

  • #9B2C37

    #9B2C37

    oklch(46.7% 0.146 19.5)

  • #226C06

    #226C06

    oklch(46.7% 0.146 139.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2256AA

    #2256AA

    oklch(46.7% 0.146 259.7)

  • #922E66

    #922E66

    oklch(46.8% 0.146 349.7)

  • #765300

    #765300

    oklch(46.8% 0.097 80.4)

  • #006A52

    #006A52

    oklch(46.6% 0.092 170.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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