#12205D#12205D

#12205D is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.110 H 268.2°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#12205D
RGBrgb(18, 32, 93)
HSLhsl(229, 68%, 22%)
HSVhsv(229, 81%, 36%)
CMYKcmyk(80.6%, 65.6%, 0%, 63.5%)
CIE-LABlab(15.23, 18.71, -38.12)
CIE-LCHlch(15.23, 42.46, 296.15°)
OKLaboklab(27.64% -0.0035 -0.1101)
OKLCHoklch(27.64% 0.11 268.2)
XYZxyz(2.7411, 1.9516, 10.5860)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12205D #5D4F12
analogous
#12465D #12205D #2A125D
triadic
#12205D #5D1220 #205D12
tetradic
#12205D #5D1246 #5D4F12 #125D2A
square
#12205D #5D1246 #5D4F12 #125D2A
split-complementary
#12205D #5D2A12 #465D12
monochromatic
#05091A #080E2A #12205D #1C3290 #2643C4

Accessibility & contrast

On white

15.10
#12205D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#12205D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12205D
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12205D#FFFFFF#000000##FFFFFF
##12205D1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A5F
Deuteranopia (green-blind)
#00235C
Tritanopia (blue-blind)
#00303B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #12205d;
/* rgb */ color: rgb(18, 32, 93);
/* oklch */ color: oklch(27.6% 0.110 268.2);
Tailwind
colors: {
  custom: {
    50: '#5d5b8c',
    500: '#12205d',
    950: '#000000',
  },
}
SCSS
$custom: #12205d;
$custom-light: #5d5b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#12205d",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 93
  },
  "hsl": {
    "h": 228.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27645,
    "c": 0.11019,
    "h": 268.2
  },
  "luminance": 0.01952
}

Semantic roles & 50–950 ramp

primary
#12205D
secondary
#958335
accent
#CA3DEA
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #12205D

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

Preview Lab → · Contrast checker → · Palette generator →

#12205D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva