#12213A#12213A

#12213A is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.9% C 0.052 H 260.1°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#12213A
RGBrgb(18, 33, 58)
HSLhsl(218, 53%, 15%)
HSVhsv(218, 69%, 23%)
CMYKcmyk(69%, 43.1%, 0%, 77.3%)
CIE-LABlab(12.75, 3.08, -18.09)
CIE-LCHlch(12.75, 18.35, 279.66°)
OKLaboklab(24.87% -0.0089 -0.0513)
OKLCHoklch(24.87% 0.052 260.1)
XYZxyz(1.5568, 1.5217, 4.2138)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12213A #3A2B12
analogous
#12353A #12213A #17123A
triadic
#12213A #3A1221 #213A12
tetradic
#12213A #3A1235 #3A2B12 #123A17
square
#12213A #3A1235 #3A2B12 #123A17
split-complementary
#12213A #3A1712 #353A12
monochromatic
#070D17 #070D17 #12213A #203C69 #2F5697

Accessibility & contrast

On white

16.10
#12213A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#12213A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12213A
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12213A#FFFFFF#000000##FFFFFF
##12213A1.0016.101.3016.10
#FFFFFF16.101.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16233B
Deuteranopia (green-blind)
#111F39
Tritanopia (blue-blind)
#00272A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #12213a;
/* rgb */ color: rgb(18, 33, 58);
/* oklch */ color: oklch(24.9% 0.052 260.1);
Tailwind
colors: {
  custom: {
    50: '#545b70',
    500: '#12213a',
    950: '#000000',
  },
}
SCSS
$custom: #12213a;
$custom-light: #545b70;
$custom-dark: #000000;
JSON
{
  "hex": "#12213a",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 58
  },
  "hsl": {
    "h": 217.5,
    "s": 52.632,
    "l": 14.902
  },
  "oklch": {
    "l": 0.2487,
    "c": 0.05205,
    "h": 260.1
  },
  "luminance": 0.01522
}

Semantic roles & 50–950 ramp

primary
#12213A
secondary
#735C35
accent
#A64CDC
background
#F5F5F6
surface
#E8E9EC
border
#C4C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #12213A

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

Preview Lab → · Contrast checker → · Palette generator →

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