#12205E#12205E

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

Color values

HEX#12205E
RGBrgb(18, 32, 94)
HSLhsl(229, 68%, 22%)
HSVhsv(229, 81%, 37%)
CMYKcmyk(80.9%, 66%, 0%, 63.1%)
CIE-LABlab(15.33, 19.13, -38.63)
CIE-LCHlch(15.33, 43.11, 296.35°)
OKLaboklab(27.74% -0.0035 -0.1116)
OKLCHoklch(27.74% 0.112 268.2)
XYZxyz(2.7856, 1.9695, 10.8208)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12205E #5E5012
analogous
#12465E #12205E #2A125E
triadic
#12205E #5E1220 #205E12
tetradic
#12205E #5E1246 #5E5012 #125E2A
square
#12205E #5E1246 #5E5012 #125E2A
split-complementary
#12205E #5E2A12 #465E12
monochromatic
#05091A #080F2B #12205E #1C3191 #2643C5

Accessibility & contrast

On white

15.06
#12205E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12205E
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12205E#FFFFFF#000000##FFFFFF
##12205E1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12205e;
/* rgb */ color: rgb(18, 32, 94);
/* oklch */ color: oklch(27.7% 0.112 268.2);
Tailwind
colors: {
  custom: {
    50: '#5e5b8c',
    500: '#12205e',
    950: '#000000',
  },
}
SCSS
$custom: #12205e;
$custom-light: #5e5b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#12205e",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 94
  },
  "hsl": {
    "h": 228.947,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27745,
    "c": 0.11169,
    "h": 268.2
  },
  "luminance": 0.0197
}

Semantic roles & 50–950 ramp

primary
#12205E
secondary
#968435
accent
#CB3DEB
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #12205E

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

Preview Lab → · Contrast checker → · Palette generator →

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