#12213C#12213C

#12213C is a dark, muted blue. Relative luminance 0.015; OKLCH L 25.0% C 0.055 H 261.3°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#12213C
RGBrgb(18, 33, 60)
HSLhsl(219, 54%, 15%)
HSVhsv(219, 70%, 24%)
CMYKcmyk(70%, 45%, 0%, 76.5%)
CIE-LABlab(12.88, 3.91, -19.30)
CIE-LCHlch(12.88, 19.69, 281.46°)
OKLaboklab(25.01% -0.0084 -0.0548)
OKLCHoklch(25.01% 0.055 261.3)
XYZxyz(1.6086, 1.5424, 4.4870)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12213C #3C2D12
analogous
#12363C #12213C #18123C
triadic
#12213C #3C1221 #213C12
tetradic
#12213C #3C1236 #3C2D12 #123C18
square
#12213C #3C1236 #3C2D12 #123C18
split-complementary
#12213C #3C1812 #363C12
monochromatic
#070D18 #070D18 #12213C #203B6B #2E559A

Accessibility & contrast

On white

16.05
#12213C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12213C
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12213C#FFFFFF#000000##FFFFFF
##12213C1.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15233D
Deuteranopia (green-blind)
#101F3B
Tritanopia (blue-blind)
#00272B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #12213c;
/* rgb */ color: rgb(18, 33, 60);
/* oklch */ color: oklch(25.0% 0.055 261.3);
Tailwind
colors: {
  custom: {
    50: '#555b72',
    500: '#12213c',
    950: '#000000',
  },
}
SCSS
$custom: #12213c;
$custom-light: #555b72;
$custom-dark: #000000;
JSON
{
  "hex": "#12213c",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 60
  },
  "hsl": {
    "h": 218.571,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25013,
    "c": 0.05546,
    "h": 261.3
  },
  "luminance": 0.01543
}

Semantic roles & 50–950 ramp

primary
#12213C
secondary
#755E35
accent
#A94BDD
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030408
muted
#78797B

Preview Lab

Preview with #12213C

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

Preview Lab → · Contrast checker → · Palette generator →

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