#1B254D

Closest named color: Oxford Blue (#1B263B). oklch(27.9% 0.075 270.4), rgb(27, 37, 77).

Aa

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

About this color

#1B254D is a dark, moderately saturated blue. In OKLCH its lightness is 28%, its chroma 0.075 and its hue 270°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.035 away. White text reads best on it, at 14.80:1.

Hue familyBlues
Lightnessdark (28%)
Chromamoderately saturated (0.075)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.41:1
White text14.80:1

Values

HEX#1B254D
RGBrgb(27, 37, 77)
HSLhsl(228, 48%, 20%)
OKLCHoklch(27.9% 0.075 270.4)

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 #1B254D 14.80:1 AAA Lc -104.4 Preferred for body text
Black text on #1B254D 1.41:1 Fails Lc 0.0 Not readable
#1B254D text on white 14.80:1 AAA Lc 101.5 Preferred for body text
#1B254D text on black 1.41:1 Fails Lc 0.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 950.

  1. Step 50

    50

    #F2F5FE

    oklch(97% 0.012 271.3)

  2. Step 100

    100

    #E3E9FC

    oklch(93.5% 0.027 271.9)

  3. Step 200

    200

    #CCD8FB

    oklch(88.4% 0.05 270.4)

  4. Step 300

    300

    #ABBEFB

    oklch(80.9% 0.089 270.9)

  5. Step 400

    400

    #7F9AF8

    oklch(70.6% 0.141 270.4)

  6. Step 500

    500

    #617EF5

    oklch(63.1% 0.18 270.2)

  7. Step 600

    600

    #4A63E4

    oklch(55.5% 0.197 270.4)

  8. Step 700

    700

    #3C51C6

    oklch(49% 0.183 270.4)

  9. Step 800

    800

    #3243A0

    oklch(42.6% 0.151 270.7)

  10. Step 900

    900

    #2B3A7F

    oklch(37.7% 0.118 270.6)

  11. Step 950

    950 (this color)

    #1B254D

    oklch(27.9% 0.075 270.4)

Export this scale for Tailwind in the Tailwind colors tool

#1B254D 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)#122A4E0.017
Deuteranopia (no green cones)#0A264C0.019
Tritanopia (no blue cones)#002E350.065
Achromatopsia (no color)#2828280.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #1B254D

    #1B254D

    oklch(27.9% 0.075 270.4)

  • #332700

    #332700

    oklch(27.9% 0.057 91)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1B254D

    #1B254D

    oklch(27.9% 0.075 270.4)

  • #002C45

    #002C45

    oklch(28% 0.064 240.2)

  • #2F1E47

    #2F1E47

    oklch(27.9% 0.075 300.8)

Open the analogous palette in the generator

Split complementary

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

  • #1B254D

    #1B254D

    oklch(27.9% 0.075 270.4)

  • #3F1F00

    #3F1F00

    oklch(27.8% 0.065 59.8)

  • #242D00

    #242D00

    oklch(27.9% 0.067 120.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1B254D

    #1B254D

    oklch(27.9% 0.075 270.4)

  • #471711

    #471711

    oklch(28% 0.075 29.7)

  • #013213

    #013213

    oklch(27.8% 0.075 150.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1B254D

    #1B254D

    oklch(27.9% 0.075 270.4)

  • #451627

    #451627

    oklch(28.1% 0.075 0.6)

  • #332700

    #332700

    oklch(27.9% 0.057 91)

  • #00312A

    #00312A

    oklch(28.1% 0.051 180.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1B254D 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.