#12274F

Closest named color: Marine (#042E60). oklch(28% 0.078 261.9), rgb(18, 39, 79).

Aa

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

About this color

#12274F is a dark, moderately saturated blue. In OKLCH its lightness is 28%, its chroma 0.078 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Marine (#042E60), ΔE 0.035 away. White text reads best on it, at 14.69:1.

Hue familyBlues
Lightnessdark (28%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest nameMarine (#042E60)
Black text1.42:1
White text14.69:1

Values

HEX#12274F
RGBrgb(18, 39, 79)
HSLhsl(219, 63%, 19%)
OKLCHoklch(28% 0.078 261.9)

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 #12274F 14.69:1 AAA Lc -104.2 Preferred for body text
Black text on #12274F 1.42:1 Fails Lc 0.0 Not readable
#12274F text on white 14.69:1 AAA Lc 101.3 Preferred for body text
#12274F 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

    #C7DAFC

    oklch(88.5% 0.051 262.1)

  4. Step 300

    300

    #A0C1FD

    oklch(80.9% 0.093 262.1)

  5. Step 400

    400

    #6C9FFC

    oklch(70.8% 0.147 261.6)

  6. Step 500

    500

    #4583FA

    oklch(63.1% 0.189 261.9)

  7. Step 600

    600

    #2669E9

    oklch(55.7% 0.205 261.7)

  8. Step 700

    700

    #1A56CB

    oklch(49.1% 0.192 261.9)

  9. Step 800

    800

    #1747A4

    oklch(42.7% 0.159 261.8)

  10. Step 900

    900

    #193D82

    oklch(37.7% 0.124 261.8)

  11. Step 950

    950 (this color)

    #12274F

    oklch(28% 0.078 261.9)

Export this scale for Tailwind in the Tailwind colors tool

#12274F 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)#122B510.013
Deuteranopia (no green cones)#06264E0.012
Tritanopia (no blue cones)#0030370.062
Achromatopsia (no color)#2828280.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #12274F

    #12274F

    oklch(28% 0.078 261.9)

  • #372500

    #372500

    oklch(27.9% 0.058 81)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12274F

    #12274F

    oklch(28% 0.078 261.9)

  • #002D40

    #002D40

    oklch(27.9% 0.057 232.5)

  • #2A204C

    #2A204C

    oklch(28.1% 0.078 291)

Open the analogous palette in the generator

Split complementary

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

  • #12274F

    #12274F

    oklch(28% 0.078 261.9)

  • #441C00

    #441C00

    oklch(28.1% 0.073 51.3)

  • #2A2C00

    #2A2C00

    oklch(28.2% 0.063 112.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12274F

    #12274F

    oklch(28% 0.078 261.9)

  • #481517

    #481517

    oklch(28% 0.078 21.4)

  • #0D3209

    #0D3209

    oklch(28% 0.079 141.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12274F

    #12274F

    oklch(28% 0.078 261.9)

  • #44152D

    #44152D

    oklch(28% 0.078 351.6)

  • #372500

    #372500

    oklch(27.9% 0.058 81)

  • #003126

    #003126

    oklch(27.9% 0.054 172.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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