#12213E#12213E

#12213E is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.2% C 0.059 H 262.3°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#12213E
RGBrgb(18, 33, 62)
HSLhsl(220, 55%, 16%)
HSVhsv(220, 71%, 24%)
CMYKcmyk(71%, 46.8%, 0%, 75.7%)
CIE-LABlab(13.01, 4.75, -20.49)
CIE-LCHlch(13.01, 21.04, 283.05°)
OKLaboklab(25.16% -0.0078 -0.0583)
OKLCHoklch(25.16% 0.059 262.3)
XYZxyz(1.6625, 1.5640, 4.7708)
Luminance0.0156 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12213E #3E2F12
analogous
#12373E #12213E #19123E
triadic
#12213E #3E1221 #213E12
tetradic
#12213E #3E1237 #3E2F12 #123E19
square
#12213E #3E1237 #3E2F12 #123E19
split-complementary
#12213E #3E1912 #373E12
monochromatic
#070D18 #070D18 #12213E #203A6D #2E539D

Accessibility & contrast

On white

16.00
#12213E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#12213E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12213E
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12213E#FFFFFF#000000##FFFFFF
##12213E1.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14243F
Deuteranopia (green-blind)
#0E203D
Tritanopia (blue-blind)
#00282C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #12213e;
/* rgb */ color: rgb(18, 33, 62);
/* oklch */ color: oklch(25.2% 0.059 262.3);
Tailwind
colors: {
  custom: {
    50: '#555b73',
    500: '#12213e',
    950: '#000000',
  },
}
SCSS
$custom: #12213e;
$custom-light: #555b73;
$custom-dark: #000000;
JSON
{
  "hex": "#12213e",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 62
  },
  "hsl": {
    "h": 219.545,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.2516,
    "c": 0.05885,
    "h": 262.3
  },
  "luminance": 0.01564
}

Semantic roles & 50–950 ramp

primary
#12213E
secondary
#776035
accent
#AC49DE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #12213E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#12213E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva