#12274E

Closest named color: Oxford Blue (#1B263B). oklch(27.9% 0.077 261.5), rgb(18, 39, 78).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (28%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest nameOxford Blue (#1B263B)
Black text1.42:1
White text14.72:1

Values

HEX#12274E
RGBrgb(18, 39, 78)
HSLhsl(219, 63%, 19%)
OKLCHoklch(27.9% 0.077 261.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 #12274E 14.72:1 AAA Lc -104.2 Preferred for body text
Black text on #12274E 1.42:1 Fails Lc 0.0 Not readable
#12274E text on white 14.72:1 AAA Lc 101.4 Preferred for body text
#12274E text on black 1.42: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

    #E0EAFC

    oklch(93.5% 0.027 262.3)

  3. Step 200

    200

    #C7DAFB

    oklch(88.5% 0.05 261.5)

  4. Step 300

    300

    #A0C1FC

    oklch(80.8% 0.091 261.8)

  5. Step 400

    400

    #6C9FFB

    oklch(70.7% 0.146 261.4)

  6. Step 500

    500

    #4583F8

    oklch(63% 0.187 261.7)

  7. Step 600

    600

    #2769E7

    oklch(55.5% 0.203 261.7)

  8. Step 700

    700

    #1A57C9

    oklch(49.2% 0.188 261.5)

  9. Step 800

    800

    #1848A2

    oklch(42.7% 0.155 261.5)

  10. Step 900

    900

    #1A3D81

    oklch(37.7% 0.122 261.9)

  11. Step 950

    950 (this color)

    #12274E

    oklch(27.9% 0.077 261.5)

Export this scale for Tailwind in the Tailwind colors tool

#12274E 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)#132B4F0.013
Deuteranopia (no green cones)#08264D0.011
Tritanopia (no blue cones)#0030360.062
Achromatopsia (no color)#2828280.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #12274E

    #12274E

    oklch(27.9% 0.077 261.5)

  • #372500

    #372500

    oklch(27.9% 0.058 81)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12274E

    #12274E

    oklch(27.9% 0.077 261.5)

  • #002D40

    #002D40

    oklch(27.9% 0.057 232.5)

  • #2A204B

    #2A204B

    oklch(28% 0.077 291.4)

Open the analogous palette in the generator

Split complementary

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

  • #12274E

    #12274E

    oklch(27.9% 0.077 261.5)

  • #431C00

    #431C00

    oklch(27.9% 0.072 52)

  • #2A2B00

    #2A2B00

    oklch(27.9% 0.061 111.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12274E

    #12274E

    oklch(27.9% 0.077 261.5)

  • #471517

    #471517

    oklch(27.8% 0.077 21.3)

  • #0E320A

    #0E320A

    oklch(28.1% 0.077 141.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12274E

    #12274E

    oklch(27.9% 0.077 261.5)

  • #43162D

    #43162D

    oklch(27.9% 0.076 351.3)

  • #372500

    #372500

    oklch(27.9% 0.058 81)

  • #003125

    #003125

    oklch(27.9% 0.055 171.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12274E 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.