#12203F#12203F

#12203F is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 25.0% C 0.062 H 264.1°. Best body text is #FFFFFF at 16.10:1 contrast (WCAG AA passes).

Color values

HEX#12203F
RGBrgb(18, 32, 63)
HSLhsl(221, 56%, 16%)
HSVhsv(221, 71%, 25%)
CMYKcmyk(71.4%, 49.2%, 0%, 75.3%)
CIE-LABlab(12.74, 5.93, -21.63)
CIE-LCHlch(12.74, 22.43, 285.34°)
OKLaboklab(24.97% -0.0063 -0.0617)
OKLCHoklch(24.97% 0.062 264.1)
XYZxyz(1.6629, 1.5204, 4.9075)
Luminance0.0152 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12203F #3F3112
analogous
#12363F #12203F #1A123F
triadic
#12203F #3F1220 #203F12
tetradic
#12203F #3F1236 #3F3112 #123F1A
square
#12203F #3F1236 #3F3112 #123F1A
split-complementary
#12203F #3F1A12 #363F12
monochromatic
#070C18 #070C18 #12203F #20386F #2D509E

Accessibility & contrast

On white

16.10
#12203F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12203F
16.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12203F#FFFFFF#000000##FFFFFF
##12203F1.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)
#122340
Deuteranopia (green-blind)
#0B1F3E
Tritanopia (blue-blind)
#00272C
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #12203f;
/* rgb */ color: rgb(18, 32, 63);
/* oklch */ color: oklch(25.0% 0.062 264.1);
Tailwind
colors: {
  custom: {
    50: '#555b74',
    500: '#12203f',
    950: '#000000',
  },
}
SCSS
$custom: #12203f;
$custom-light: #555b74;
$custom-dark: #000000;
JSON
{
  "hex": "#12203f",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 63
  },
  "hsl": {
    "h": 221.333,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24973,
    "c": 0.062,
    "h": 264.1
  },
  "luminance": 0.01521
}

Semantic roles & 50–950 ramp

primary
#12203F
secondary
#786335
accent
#B049DF
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #12203F

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

Preview Lab → · Contrast checker → · Palette generator →

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