#12116C#12116C

#12116C is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.8% C 0.148 H 270.9°. Best body text is #FFFFFF at 15.88:1 contrast (WCAG AA passes).

Color values

HEX#12116C
RGBrgb(18, 17, 108)
HSLhsl(241, 73%, 25%)
HSVhsv(241, 84%, 42%)
CMYKcmyk(83.3%, 84.3%, 0%, 57.6%)
CIE-LABlab(13.30, 34.40, -51.21)
CIE-LCHlch(13.30, 61.69, 303.89°)
OKLaboklab(26.75% 0.0022 -0.1482)
OKLCHoklch(26.75% 0.148 270.9)
XYZxyz(3.1558, 1.6118, 14.3292)
Luminance0.0161 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12116C #6B6C11
analogous
#113E6C #12116C #3F116C
triadic
#12116C #6C1211 #116C12
tetradic
#12116C #6C113E #6B6C11 #116C3F
square
#12116C #6C113E #6B6C11 #116C3F
split-complementary
#12116C #6C3F11 #3E6C11
monochromatic
#04041A #090937 #12116C #1B19A1 #2422D6

Accessibility & contrast

On white

15.88
#12116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#12116C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12116C
15.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12116C#FFFFFF#000000##FFFFFF
##12116C1.0015.881.3215.88
#FFFFFF15.881.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276F
Deuteranopia (green-blind)
#001D6A
Tritanopia (blue-blind)
#002E3F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #12116c;
/* rgb */ color: rgb(18, 17, 108);
/* oklch */ color: oklch(26.8% 0.148 270.9);
Tailwind
colors: {
  custom: {
    50: '#635197',
    500: '#12116c',
    950: '#000000',
  },
}
SCSS
$custom: #12116c;
$custom-light: #635197;
$custom-dark: #000000;
JSON
{
  "hex": "#12116c",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 240.659,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.26754,
    "c": 0.14827,
    "h": 270.9
  },
  "luminance": 0.01612
}

Semantic roles & 50–950 ramp

primary
#12116C
secondary
#A2A435
accent
#EF38ED
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020E
muted
#7A787E

Preview Lab

Preview with #12116C

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

Preview Lab → · Contrast checker → · Palette generator →

#12116C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva