#12205A#12205A

#12205A is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.106 H 268.1°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#12205A
RGBrgb(18, 32, 90)
HSLhsl(228, 67%, 21%)
HSVhsv(228, 80%, 35%)
CMYKcmyk(80%, 64.4%, 0%, 64.7%)
CIE-LABlab(14.95, 17.45, -36.57)
CIE-LCHlch(14.95, 40.52, 295.51°)
OKLaboklab(27.35% -0.0035 -0.1056)
OKLCHoklch(27.35% 0.106 268.1)
XYZxyz(2.6108, 1.8995, 9.8999)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12205A #5A4C12
analogous
#12445A #12205A #28125A
triadic
#12205A #5A1220 #205A12
tetradic
#12205A #5A1244 #5A4C12 #125A28
square
#12205A #5A1244 #5A4C12 #125A28
split-complementary
#12205A #5A2812 #445A12
monochromatic
#05091A #080E27 #12205A #1C328D #2644C0

Accessibility & contrast

On white

15.22
#12205A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#12205A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12205A
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12205A#FFFFFF#000000##FFFFFF
##12205A1.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295C
Deuteranopia (green-blind)
#002259
Tritanopia (blue-blind)
#002F39
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #12205a;
/* rgb */ color: rgb(18, 32, 90);
/* oklch */ color: oklch(27.3% 0.106 268.1);
Tailwind
colors: {
  custom: {
    50: '#5c5b89',
    500: '#12205a',
    950: '#000000',
  },
}
SCSS
$custom: #12205a;
$custom-light: #5c5b89;
$custom-dark: #000000;
JSON
{
  "hex": "#12205a",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 90
  },
  "hsl": {
    "h": 228.333,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.27349,
    "c": 0.10566,
    "h": 268.1
  },
  "luminance": 0.019
}

Semantic roles & 50–950 ramp

primary
#12205A
secondary
#938035
accent
#C83EEA
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#05040B
muted
#79797C

Preview Lab

Preview with #12205A

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

Preview Lab → · Contrast checker → · Palette generator →

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