#254DA3

Closest named color: Cobalt (#1E488F). oklch(44.3% 0.147 263), rgb(37, 77, 163).

Aa

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

About this color

#254DA3 is a dark, vivid blue. In OKLCH its lightness is 44%, its chroma 0.147 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Cobalt (#1E488F), ΔE 0.036 away. White text reads best on it, at 7.86:1.

Hue familyBlues
Lightnessdark (44%)
Chromavivid (0.147)
Temperaturecool
Nearest nameCobalt (#1E488F)
Black text2.66:1
White text7.86:1

Values

HEX#254DA3
RGBrgb(37, 77, 163)
HSLhsl(221, 63%, 39%)
OKLCHoklch(44.3% 0.147 263)

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 #254DA3 7.86:1 AAA Lc -91.6 Preferred for body text
Black text on #254DA3 2.66:1 Fails Lc 17.2 Dividers and decoration only
#254DA3 text on white 7.86:1 AAA Lc 86.9 Fine for body text
#254DA3 text on black 2.66:1 Fails Lc -15.2 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 800.

  1. Step 50

    50

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EAFB

    oklch(93.5% 0.025 263.3)

  3. Step 200

    200

    #C9DAFA

    oklch(88.6% 0.048 263.1)

  4. Step 300

    300

    #A4C1F9

    oklch(81% 0.086 263.3)

  5. Step 400

    400

    #739FF6

    oklch(70.8% 0.137 263)

  6. Step 500

    500

    #4E84F2

    oklch(63.2% 0.175 262.8)

  7. Step 600

    600

    #336AE1

    oklch(55.6% 0.191 263)

  8. Step 700

    700

    #2657C3

    oklch(49% 0.178 263.1)

  9. Step 800

    800 (this color)

    #254DA3

    oklch(44.3% 0.147 263)

  10. Step 900

    900

    #1F3E7D

    oklch(37.8% 0.113 262.6)

  11. Step 950

    950

    #132549

    oklch(27.1% 0.071 262.6)

Export this scale for Tailwind in the Tailwind colors tool

#254DA3 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)#1258A60.029
Deuteranopia (no green cones)#004CA10.021
Tritanopia (no blue cones)#0062700.116
Achromatopsia (no color)#5252520.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #254DA3

    #254DA3

    oklch(44.3% 0.147 263)

  • #6C4E00

    #6C4E00

    oklch(44.4% 0.091 83)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #254DA3

    #254DA3

    oklch(44.3% 0.147 263)

  • #005B7D

    #005B7D

    oklch(44.3% 0.091 232.6)

  • #593D9B

    #593D9B

    oklch(44.3% 0.147 293.2)

Open the analogous palette in the generator

Split complementary

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

  • #254DA3

    #254DA3

    oklch(44.3% 0.147 263)

  • #823E00

    #823E00

    oklch(44.4% 0.113 53)

  • #545800

    #545800

    oklch(44.2% 0.098 112.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #254DA3

    #254DA3

    oklch(44.3% 0.147 263)

  • #93242A

    #93242A

    oklch(44.2% 0.146 22.9)

  • #036609

    #036609

    oklch(44.3% 0.146 143)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #254DA3

    #254DA3

    oklch(44.3% 0.147 263)

  • #8C255A

    #8C255A

    oklch(44.4% 0.147 353.3)

  • #6C4E00

    #6C4E00

    oklch(44.4% 0.091 83)

  • #00624F

    #00624F

    oklch(44.2% 0.085 173.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #254DA3 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.