#254281

Closest named color: Twilight Blue (#0A437A). oklch(39.3% 0.112 263.5), rgb(37, 66, 129).

Aa

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

About this color

#254281 is a dark, moderately saturated blue. In OKLCH its lightness is 39%, its chroma 0.112 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight Blue (#0A437A), ΔE 0.024 away. White text reads best on it, at 9.65:1.

Hue familyBlues
Lightnessdark (39%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest nameTwilight Blue (#0A437A)
Black text2.17:1
White text9.65:1

Values

HEX#254281
RGBrgb(37, 66, 129)
HSLhsl(221, 55%, 33%)
OKLCHoklch(39.3% 0.112 263.5)

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 #254281 9.65:1 AAA Lc -96.3 Preferred for body text
Black text on #254281 2.17:1 Fails Lc 11.9 Not readable
#254281 text on white 9.65:1 AAA Lc 92.1 Preferred for body text
#254281 text on black 2.17:1 Fails Lc -10.3 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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFB

    oklch(93.6% 0.025 265.6)

  3. Step 200

    200

    #C9DAF9

    oklch(88.5% 0.047 262.5)

  4. Step 300

    300

    #A5C1F8

    oklch(81% 0.084 263.6)

  5. Step 400

    400

    #749EF4

    oklch(70.6% 0.135 263.6)

  6. Step 500

    500

    #5184F0

    oklch(63.2% 0.171 263.3)

  7. Step 600

    600

    #376ADF

    oklch(55.6% 0.187 263.7)

  8. Step 700

    700

    #2A58C1

    oklch(49.2% 0.173 263.5)

  9. Step 800

    800

    #23489C

    oklch(42.6% 0.144 263.6)

  10. Step 900

    900 (this color)

    #254281

    oklch(39.3% 0.112 263.5)

  11. Step 950

    950

    #142549

    oklch(27.2% 0.071 263.4)

Export this scale for Tailwind in the Tailwind colors tool

#254281 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)#2149830.020
Deuteranopia (no green cones)#0C41800.020
Tritanopia (no blue cones)#00515B0.091
Achromatopsia (no color)#4545450.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #254281

    #254281

    oklch(39.3% 0.112 263.5)

  • #5A4100

    #5A4100

    oklch(39.2% 0.081 83.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #254281

    #254281

    oklch(39.3% 0.112 263.5)

  • #004C6A

    #004C6A

    oklch(39.2% 0.081 233.4)

  • #4A377B

    #4A377B

    oklch(39.4% 0.111 293.5)

Open the analogous palette in the generator

Split complementary

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

  • #254281

    #254281

    oklch(39.3% 0.112 263.5)

  • #6D3400

    #6D3400

    oklch(39.3% 0.099 54)

  • #464A00

    #464A00

    oklch(39.2% 0.088 113.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #254281

    #254281

    oklch(39.3% 0.112 263.5)

  • #762727

    #762727

    oklch(39.2% 0.111 23.8)

  • #155417

    #155417

    oklch(39.2% 0.112 143.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #254281

    #254281

    oklch(39.3% 0.112 263.5)

  • #71264A

    #71264A

    oklch(39.3% 0.113 353.8)

  • #5A4100

    #5A4100

    oklch(39.2% 0.081 83.7)

  • #005342

    #005342

    oklch(39.4% 0.076 172.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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