#12116A#12116A

#12116A is a dark, vivid blue. Relative luminance 0.016; OKLCH L 26.5% C 0.146 H 271.0°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#12116A
RGBrgb(18, 17, 106)
HSLhsl(241, 72%, 24%)
HSVhsv(241, 84%, 42%)
CMYKcmyk(83%, 84%, 0%, 58.4%)
CIE-LABlab(13.05, 33.70, -50.32)
CIE-LCHlch(13.05, 60.57, 303.81°)
OKLaboklab(26.5% 0.0027 -0.1457)
OKLCHoklch(26.5% 0.146 271)
XYZxyz(3.0505, 1.5698, 13.7751)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12116A #696A11
analogous
#113D6A #12116A #3F116A
triadic
#12116A #6A1211 #116A12
tetradic
#12116A #6A113D #696A11 #116A3F
square
#12116A #6A113D #696A11 #116A3F
split-complementary
#12116A #6A3F11 #3D6A11
monochromatic
#04041A #090935 #12116A #1B199F #2422D3

Accessibility & contrast

On white

15.98
#12116A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#12116A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12116A
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12116A#FFFFFF#000000##FFFFFF
##12116A1.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00266C
Deuteranopia (green-blind)
#001D68
Tritanopia (blue-blind)
#002D3E
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #12116a;
/* rgb */ color: rgb(18, 17, 106);
/* oklch */ color: oklch(26.5% 0.146 271.0);
Tailwind
colors: {
  custom: {
    50: '#635196',
    500: '#12116a',
    950: '#000000',
  },
}
SCSS
$custom: #12116a;
$custom-light: #635196;
$custom-dark: #000000;
JSON
{
  "hex": "#12116a",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 106
  },
  "hsl": {
    "h": 240.674,
    "s": 72.358,
    "l": 24.118
  },
  "oklch": {
    "l": 0.265,
    "c": 0.14571,
    "h": 271
  },
  "luminance": 0.0157
}

Semantic roles & 50–950 ramp

primary
#12116A
secondary
#A1A235
accent
#EF39ED
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #12116A

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

Preview Lab → · Contrast checker → · Palette generator →

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