#12203E#12203E

#12203E is a very dark, moderate blue. Relative luminance 0.015; OKLCH L 24.9% C 0.060 H 263.7°. Best body text is #FFFFFF at 16.13:1 contrast (WCAG AA passes).

Color values

HEX#12203E
RGBrgb(18, 32, 62)
HSLhsl(221, 55%, 16%)
HSVhsv(221, 71%, 24%)
CMYKcmyk(71%, 48.4%, 0%, 75.7%)
CIE-LABlab(12.67, 5.51, -21.04)
CIE-LCHlch(12.67, 21.75, 284.68°)
OKLaboklab(24.9% -0.0066 -0.0599)
OKLCHoklch(24.9% 0.06 263.7)
XYZxyz(1.6352, 1.5093, 4.7616)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12203E #3E3012
analogous
#12363E #12203E #1A123E
triadic
#12203E #3E1220 #203E12
tetradic
#12203E #3E1236 #3E3012 #123E1A
square
#12203E #3E1236 #3E3012 #123E1A
split-complementary
#12203E #3E1A12 #363E12
monochromatic
#070C18 #070C18 #12203E #20386D #2E519D

Accessibility & contrast

On white

16.13
#12203E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12203E
16.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12203E#FFFFFF#000000##FFFFFF
##12203E1.0016.131.3016.13
#FFFFFF16.131.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12233F
Deuteranopia (green-blind)
#0C1F3D
Tritanopia (blue-blind)
#00272B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #12203e;
/* rgb */ color: rgb(18, 32, 62);
/* oklch */ color: oklch(24.9% 0.060 263.7);
Tailwind
colors: {
  custom: {
    50: '#555b73',
    500: '#12203e',
    950: '#000000',
  },
}
SCSS
$custom: #12203e;
$custom-light: #555b73;
$custom-dark: #000000;
JSON
{
  "hex": "#12203e",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 62
  },
  "hsl": {
    "h": 220.909,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24896,
    "c": 0.06029,
    "h": 263.7
  },
  "luminance": 0.01509
}

Semantic roles & 50–950 ramp

primary
#12203E
secondary
#776235
accent
#AF49DE
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #12203E

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

Preview Lab → · Contrast checker → · Palette generator →

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