#12203B#12203B

#12203B is a very dark, muted blue. Relative luminance 0.015; OKLCH L 24.7% C 0.055 H 262.4°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#12203B
RGBrgb(18, 32, 59)
HSLhsl(220, 53%, 15%)
HSVhsv(220, 69%, 23%)
CMYKcmyk(69.5%, 45.8%, 0%, 76.9%)
CIE-LABlab(12.46, 4.25, -19.24)
CIE-LCHlch(12.46, 19.71, 282.45°)
OKLaboklab(24.67% -0.0073 -0.0547)
OKLCHoklch(24.67% 0.055 262.4)
XYZxyz(1.5551, 1.4773, 4.3400)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12203B #3B2D12
analogous
#12353B #12203B #18123B
triadic
#12203B #3B1220 #203B12
tetradic
#12203B #3B1235 #3B2D12 #123B18
square
#12203B #3B1235 #3B2D12 #123B18
split-complementary
#12203B #3B1812 #353B12
monochromatic
#070D17 #070D17 #12203B #20396A #2F5399

Accessibility & contrast

On white

16.21
#12203B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#12203B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12203B
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12203B#FFFFFF#000000##FFFFFF
##12203B1.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14223C
Deuteranopia (green-blind)
#0F1F3A
Tritanopia (blue-blind)
#00262A
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #12203b;
/* rgb */ color: rgb(18, 32, 59);
/* oklch */ color: oklch(24.7% 0.055 262.4);
Tailwind
colors: {
  custom: {
    50: '#545b71',
    500: '#12203b',
    950: '#000000',
  },
}
SCSS
$custom: #12203b;
$custom-light: #545b71;
$custom-dark: #000000;
JSON
{
  "hex": "#12203b",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 59
  },
  "hsl": {
    "h": 219.512,
    "s": 53.247,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24672,
    "c": 0.05517,
    "h": 262.4
  },
  "luminance": 0.01477
}

Semantic roles & 50–950 ramp

primary
#12203B
secondary
#745E35
accent
#AB4BDD
background
#F5F5F6
surface
#E9E9EC
border
#C5C5C7
text
#030407
muted
#78797A

Preview Lab

Preview with #12203B

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

Preview Lab → · Contrast checker → · Palette generator →

#12203B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva