#254778

Closest named color: Twilight Blue (#0A437A). oklch(39.8% 0.092 257.7), rgb(37, 71, 120).

Aa

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

About this color

#254778 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.092 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.025 away. White text reads best on it, at 9.32:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.092)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.25:1
White text9.32:1

Values

HEX#254778
RGBrgb(37, 71, 120)
HSLhsl(215, 53%, 31%)
OKLCHoklch(39.8% 0.092 257.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 #254778 9.32:1 AAA Lc -95.6 Preferred for body text
Black text on #254778 2.25:1 Fails Lc 12.6 Not readable
#254778 text on white 9.32:1 AAA Lc 91.3 Preferred for body text
#254778 text on black 2.25:1 Fails Lc -11.0 Not readable

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 900.

  1. Step 50

    50

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E2EBF8

    oklch(93.7% 0.02 257.5)

  3. Step 200

    200

    #CADBF3

    oklch(88.6% 0.038 257)

  4. Step 300

    300

    #A5C3EE

    oklch(81% 0.069 257.4)

  5. Step 400

    400

    #74A2E5

    oklch(70.7% 0.111 257.7)

  6. Step 500

    500

    #4F89DD

    oklch(63% 0.141 257.7)

  7. Step 600

    600

    #3271CB

    oklch(55.5% 0.154 257.8)

  8. Step 700

    700

    #245FB0

    oklch(49.2% 0.143 257.4)

  9. Step 800

    800

    #204E8E

    oklch(42.8% 0.117 257.4)

  10. Step 900

    900 (this color)

    #254778

    oklch(39.8% 0.092 257.7)

  11. Step 950

    950

    #132643

    oklch(26.9% 0.06 258.6)

Export this scale for Tailwind in the Tailwind colors tool

#254778 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)#314B7A0.020
Deuteranopia (no green cones)#2543770.012
Tritanopia (no blue cones)#0052590.075
Achromatopsia (no color)#4747470.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #254778

    #254778

    oklch(39.8% 0.092 257.7)

  • #604000

    #604000

    oklch(39.8% 0.083 76.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #254778

    #254778

    oklch(39.8% 0.092 257.7)

  • #004F68

    #004F68

    oklch(39.9% 0.078 227.7)

  • #453E76

    #453E76

    oklch(39.9% 0.092 287.2)

Open the analogous palette in the generator

Split complementary

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

  • #254778

    #254778

    oklch(39.8% 0.092 257.7)

  • #6E3514

    #6E3514

    oklch(39.8% 0.092 47.6)

  • #4C4A00

    #4C4A00

    oklch(39.8% 0.086 108)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #254778

    #254778

    oklch(39.8% 0.092 257.7)

  • #702F34

    #702F34

    oklch(39.7% 0.092 17.6)

  • #2D521D

    #2D521D

    oklch(39.8% 0.092 137.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #254778

    #254778

    oklch(39.8% 0.092 257.7)

  • #6A3050

    #6A3050

    oklch(39.8% 0.092 347.8)

  • #604000

    #604000

    oklch(39.8% 0.083 76.8)

  • #00553E

    #00553E

    oklch(39.9% 0.082 167.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #254778 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.