#0256CD

Closest named color: Blue Blue (#2242C7). oklch(48.9% 0.197 260), rgb(2, 86, 205).

Aa

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

About this color

#0256CD is a medium-dark, vivid blue. In OKLCH its lightness is 49%, its chroma 0.197 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Blue Blue (#2242C7), ΔE 0.045 away. White text reads best on it, at 6.53:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromavivid (0.197)
Temperaturecool
Nearest nameBlue Blue (#2242C7)
Black text3.21:1
White text6.53:1

Values

HEX#0256CD
RGBrgb(2, 86, 205)
HSLhsl(215, 98%, 41%)
OKLCHoklch(48.9% 0.197 260)

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 #0256CD 6.53:1 AA Lc -86.5 Fine for body text
Black text on #0256CD 3.21:1 AA large text Lc 22.6 Dividers and decoration only
#0256CD text on white 6.53:1 AA Lc 81.4 Fine for body text
#0256CD text on black 3.21:1 AA large text Lc -20.4 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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C5DAFD

    oklch(88.4% 0.054 260.6)

  4. Step 300

    300

    #9DC2FF

    oklch(81% 0.096 260.2)

  5. Step 400

    400

    #669FFF

    oklch(70.7% 0.154 260.3)

  6. Step 500

    500

    #3A84FD

    oklch(63.2% 0.195 259.9)

  7. Step 600

    600

    #1369EC

    oklch(55.5% 0.212 260)

  8. Step 700

    700 (this color)

    #0256CD

    oklch(48.9% 0.197 260)

  9. Step 800

    800

    #0A48A6

    oklch(42.8% 0.163 259.9)

  10. Step 900

    900

    #123D84

    oklch(37.6% 0.129 260.1)

  11. Step 950

    950

    #0C254D

    oklch(27.1% 0.08 259.5)

Export this scale for Tailwind in the Tailwind colors tool

#0256CD 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)#0066D10.041
Deuteranopia (no green cones)#0055CB0.004
Tritanopia (no blue cones)#0075890.150
Achromatopsia (no color)#5E5E5E0.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #0256CD

    #0256CD

    oklch(48.9% 0.197 260)

  • #7E5800

    #7E5800

    oklch(48.8% 0.101 79.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0256CD

    #0256CD

    oklch(48.9% 0.197 260)

  • #00698C

    #00698C

    oklch(48.8% 0.097 230.1)

  • #643FC5

    #643FC5

    oklch(49% 0.197 289.8)

Open the analogous palette in the generator

Split complementary

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

  • #0256CD

    #0256CD

    oklch(48.9% 0.197 260)

  • #984500

    #984500

    oklch(49% 0.13 50)

  • #646500

    #646500

    oklch(49% 0.107 110.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0256CD

    #0256CD

    oklch(48.9% 0.197 260)

  • #B5002D

    #B5002D

    oklch(48.9% 0.196 20)

  • #207400

    #207400

    oklch(49% 0.158 140)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0256CD

    #0256CD

    oklch(48.9% 0.197 260)

  • #A90D70

    #A90D70

    oklch(48.9% 0.198 349.7)

  • #7E5800

    #7E5800

    oklch(48.8% 0.101 79.5)

  • #007158

    #007158

    oklch(48.8% 0.096 170.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #0256CD.

Similar named colors

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

Use #0256CD 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.