#12206A#12206A

#12206A is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.0% C 0.129 H 268.2°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#12206A
RGBrgb(18, 32, 106)
HSLhsl(230, 71%, 24%)
HSVhsv(230, 83%, 42%)
CMYKcmyk(83%, 69.8%, 0%, 58.4%)
CIE-LABlab(16.51, 24.07, -44.60)
CIE-LCHlch(16.51, 50.68, 298.35°)
OKLaboklab(28.98% -0.004 -0.1291)
OKLCHoklch(28.98% 0.129 268.2)
XYZxyz(3.3666, 2.2018, 13.8804)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12206A #6A5C12
analogous
#124C6A #12206A #30126A
triadic
#12206A #6A1220 #206A12
tetradic
#12206A #6A124C #6A5C12 #126A30
square
#12206A #6A124C #6A5C12 #126A30
split-complementary
#12206A #6A3012 #4C6A12
monochromatic
#04081A #091036 #12206A #1B309E #2440D3

Accessibility & contrast

On white

14.58
#12206A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#12206A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12206A
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12206A#FFFFFF#000000##FFFFFF
##12206A1.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6C
Deuteranopia (green-blind)
#002569
Tritanopia (blue-blind)
#003442
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #12206a;
/* rgb */ color: rgb(18, 32, 106);
/* oklch */ color: oklch(29.0% 0.129 268.2);
Tailwind
colors: {
  custom: {
    50: '#615b95',
    500: '#12206a',
    950: '#000000',
  },
}
SCSS
$custom: #12206a;
$custom-light: #615b95;
$custom-dark: #000000;
JSON
{
  "hex": "#12206a",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 106
  },
  "hsl": {
    "h": 230.455,
    "s": 70.968,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28982,
    "c": 0.12918,
    "h": 268.2
  },
  "luminance": 0.02202
}

Semantic roles & 50–950 ramp

primary
#12206A
secondary
#A29036
accent
#D13AEE
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #12206A

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

Preview Lab → · Contrast checker → · Palette generator →

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