#2255A7

Closest named color: Dusk Blue (#26538D). oklch(46.3% 0.143 259.6), rgb(34, 85, 167).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (46%)
Chromavivid (0.143)
Temperaturecool
Nearest nameDusk Blue (#26538D)
Black text2.92:1
White text7.17:1

Values

HEX#2255A7
RGBrgb(34, 85, 167)
HSLhsl(217, 66%, 39%)
OKLCHoklch(46.3% 0.143 259.6)

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 #2255A7 7.17:1 AAA Lc -89.4 Fine for body text
Black text on #2255A7 2.92:1 Fails Lc 19.6 Dividers and decoration only
#2255A7 text on white 7.17:1 AAA Lc 84.5 Fine for body text
#2255A7 text on black 2.92:1 Fails Lc -17.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

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EAF8

    oklch(93.5% 0.021 261.8)

  3. Step 200

    200

    #CADAF3

    oklch(88.4% 0.039 259.3)

  4. Step 300

    300

    #A7C2EE

    oklch(80.9% 0.069 260.1)

  5. Step 400

    400

    #77A1E5

    oklch(70.6% 0.11 259.7)

  6. Step 500

    500

    #5388DE

    oklch(63% 0.142 259.6)

  7. Step 600

    600

    #3870CC

    oklch(55.6% 0.154 259.8)

  8. Step 700

    700 (this color)

    #2255A7

    oklch(46.3% 0.143 259.6)

  9. Step 800

    800

    #244D8F

    oklch(42.8% 0.119 259.5)

  10. Step 900

    900

    #224072

    oklch(37.6% 0.093 260)

  11. Step 950

    950

    #142643

    oklch(27% 0.059 259.5)

Export this scale for Tailwind in the Tailwind colors tool

#2255A7 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)#255EAA0.025
Deuteranopia (no green cones)#0052A50.020
Tritanopia (no blue cones)#0069760.111
Achromatopsia (no color)#5757570.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #2255A7

    #2255A7

    oklch(46.3% 0.143 259.6)

  • #755100

    #755100

    oklch(46.2% 0.096 79)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2255A7

    #2255A7

    oklch(46.3% 0.143 259.6)

  • #006182

    #006182

    oklch(46.2% 0.092 230.3)

  • #5A46A2

    #5A46A2

    oklch(46.4% 0.143 289.7)

Open the analogous palette in the generator

Split complementary

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

  • #2255A7

    #2255A7

    oklch(46.3% 0.143 259.6)

  • #8D3F00

    #8D3F00

    oklch(46.3% 0.123 49.6)

  • #5D5D00

    #5D5D00

    oklch(46.3% 0.101 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2255A7

    #2255A7

    oklch(46.3% 0.143 259.6)

  • #982C36

    #982C36

    oklch(46.1% 0.143 19.7)

  • #236A08

    #236A08

    oklch(46.2% 0.142 139.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2255A7

    #2255A7

    oklch(46.3% 0.143 259.6)

  • #8F2E64

    #8F2E64

    oklch(46.2% 0.143 349.7)

  • #755100

    #755100

    oklch(46.2% 0.096 79)

  • #006950

    #006950

    oklch(46.3% 0.092 169.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2255A7 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.