#12223C#12223C

#12223C is a dark, muted blue. Relative luminance 0.016; OKLCH L 25.3% C 0.054 H 259.7°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#12223C
RGBrgb(18, 34, 60)
HSLhsl(217, 54%, 15%)
HSVhsv(217, 70%, 24%)
CMYKcmyk(70%, 43.3%, 0%, 76.5%)
CIE-LABlab(13.22, 3.16, -18.75)
CIE-LCHlch(13.22, 19.01, 279.56°)
OKLaboklab(25.28% -0.0097 -0.0532)
OKLCHoklch(25.28% 0.054 259.7)
XYZxyz(1.6368, 1.5988, 4.4964)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12223C #3C2C12
analogous
#12373C #12223C #17123C
triadic
#12223C #3C1222 #223C12
tetradic
#12223C #3C1237 #3C2C12 #123C17
square
#12223C #3C1237 #3C2C12 #123C17
split-complementary
#12223C #3C1712 #373C12
monochromatic
#070D18 #070D18 #12223C #203D6B #2E579A

Accessibility & contrast

On white

15.91
#12223C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#12223C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12223C
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12223C#FFFFFF#000000##FFFFFF
##12223C1.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17243D
Deuteranopia (green-blind)
#11203B
Tritanopia (blue-blind)
#00282C
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #12223c;
/* rgb */ color: rgb(18, 34, 60);
/* oklch */ color: oklch(25.3% 0.054 259.7);
Tailwind
colors: {
  custom: {
    50: '#545c72',
    500: '#12223c',
    950: '#000000',
  },
}
SCSS
$custom: #12223c;
$custom-light: #545c72;
$custom-dark: #000000;
JSON
{
  "hex": "#12223c",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 60
  },
  "hsl": {
    "h": 217.143,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25283,
    "c": 0.05407,
    "h": 259.7
  },
  "luminance": 0.01599
}

Semantic roles & 50–950 ramp

primary
#12223C
secondary
#755D35
accent
#A54BDD
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030408
muted
#78797B

Preview Lab

Preview with #12223C

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

Preview Lab → · Contrast checker → · Palette generator →

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