#12213D#12213D

#12213D is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.1% C 0.057 H 261.8°. Best body text is #FFFFFF at 16.02:1 contrast (WCAG AA passes).

Color values

HEX#12213D
RGBrgb(18, 33, 61)
HSLhsl(219, 54%, 15%)
HSVhsv(219, 70%, 24%)
CMYKcmyk(70.5%, 45.9%, 0%, 76.1%)
CIE-LABlab(12.94, 4.33, -19.90)
CIE-LCHlch(12.94, 20.36, 282.28°)
OKLaboklab(25.09% -0.0081 -0.0566)
OKLCHoklch(25.09% 0.057 261.8)
XYZxyz(1.6353, 1.5531, 4.6276)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12213D #3D2E12
analogous
#12363D #12213D #18123D
triadic
#12213D #3D1221 #213D12
tetradic
#12213D #3D1236 #3D2E12 #123D18
square
#12213D #3D1236 #3D2E12 #123D18
split-complementary
#12213D #3D1812 #363D12
monochromatic
#070D18 #070D18 #12213D #203B6C #2E549C

Accessibility & contrast

On white

16.02
#12213D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12213D
16.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12213D#FFFFFF#000000##FFFFFF
##12213D1.0016.021.3116.02
#FFFFFF16.021.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15243E
Deuteranopia (green-blind)
#0F203C
Tritanopia (blue-blind)
#00272C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #12213d;
/* rgb */ color: rgb(18, 33, 61);
/* oklch */ color: oklch(25.1% 0.057 261.8);
Tailwind
colors: {
  custom: {
    50: '#555b72',
    500: '#12213d',
    950: '#000000',
  },
}
SCSS
$custom: #12213d;
$custom-light: #555b72;
$custom-dark: #000000;
JSON
{
  "hex": "#12213d",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 61
  },
  "hsl": {
    "h": 219.07,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25086,
    "c": 0.05715,
    "h": 261.8
  },
  "luminance": 0.01553
}

Semantic roles & 50–950 ramp

primary
#12213D
secondary
#765F35
accent
#AA4ADE
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030408
muted
#78797B

Preview Lab

Preview with #12213D

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

Preview Lab → · Contrast checker → · Palette generator →

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