#12254A

Closest named color: Oxford Blue (#1B263B). oklch(27.1% 0.073 262.2), rgb(18, 37, 74).

Aa

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

About this color

#12254A is a dark, moderately saturated blue. In OKLCH its lightness is 27%, its chroma 0.073 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Oxford Blue (#1B263B), ΔE 0.031 away. White text reads best on it, at 15.11:1.

Hue familyBlues
Lightnessdark (27%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.38:1
White text15.11:1

Values

HEX#12254A
RGBrgb(18, 37, 74)
HSLhsl(220, 61%, 18%)
OKLCHoklch(27.1% 0.073 262.2)

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 #12254A 15.11:1 AAA Lc -104.6 Preferred for body text
Black text on #12254A 1.38:1 Fails Lc 0.0 Not readable
#12254A text on white 15.11:1 AAA Lc 101.8 Preferred for body text
#12254A text on black 1.38: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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFB

    oklch(93.5% 0.025 263.3)

  3. Step 200

    200

    #C8DAFA

    oklch(88.5% 0.048 262)

  4. Step 300

    300

    #A2C1F9

    oklch(80.8% 0.087 262)

  5. Step 400

    400

    #709FF7

    oklch(70.7% 0.139 262.1)

  6. Step 500

    500

    #4B84F3

    oklch(63.1% 0.177 262.1)

  7. Step 600

    600

    #2F6AE2

    oklch(55.6% 0.193 262.3)

  8. Step 700

    700

    #2258C4

    oklch(49.2% 0.179 262.1)

  9. Step 800

    800

    #1E489E

    oklch(42.6% 0.148 262.4)

  10. Step 900

    900

    #1D3E7E

    oklch(37.8% 0.115 262)

  11. Step 950

    950 (this color)

    #12254A

    oklch(27.1% 0.073 262.2)

Export this scale for Tailwind in the Tailwind colors tool

#12254A 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)#13294B0.013
Deuteranopia (no green cones)#0824490.011
Tritanopia (no blue cones)#002E330.061
Achromatopsia (no color)#2626260.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #12254A

    #12254A

    oklch(27.1% 0.073 262.2)

  • #342300

    #342300

    oklch(27% 0.056 81.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12254A

    #12254A

    oklch(27.1% 0.073 262.2)

  • #002B3D

    #002B3D

    oklch(27.1% 0.055 231.9)

  • #281E47

    #281E47

    oklch(27% 0.074 292)

Open the analogous palette in the generator

Split complementary

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

  • #12254A

    #12254A

    oklch(27.1% 0.073 262.2)

  • #401B00

    #401B00

    oklch(27.2% 0.069 52.7)

  • #282900

    #282900

    oklch(27.1% 0.06 111.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12254A

    #12254A

    oklch(27.1% 0.073 262.2)

  • #441516

    #441516

    oklch(27.2% 0.073 22.1)

  • #0D2F0B

    #0D2F0B

    oklch(27.1% 0.072 142.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12254A

    #12254A

    oklch(27.1% 0.073 262.2)

  • #40152A

    #40152A

    oklch(27.1% 0.072 352.6)

  • #342300

    #342300

    oklch(27% 0.056 81.4)

  • #002F24

    #002F24

    oklch(27.2% 0.053 172.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12254A 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.