#12105E#12105E

#12105E is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.9% C 0.131 H 272.6°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#12105E
RGBrgb(18, 16, 94)
HSLhsl(242, 71%, 22%)
HSVhsv(242, 83%, 37%)
CMYKcmyk(80.9%, 83%, 0%, 63.1%)
CIE-LABlab(11.32, 30.01, -45.21)
CIE-LCHlch(11.32, 54.26, 303.57°)
OKLaboklab(24.85% 0.0058 -0.1308)
OKLCHoklch(24.85% 0.131 272.6)
XYZxyz(2.4544, 1.3071, 10.7104)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12105E #5C5E10
analogous
#10355E #12105E #39105E
triadic
#12105E #5E1210 #105E12
tetradic
#12105E #5E1035 #5C5E10 #105E39
square
#12105E #5E1035 #5C5E10 #105E39
split-complementary
#12105E #5E3910 #355E10
monochromatic
#05041A #08072A #12105E #1C1992 #2622C7

Accessibility & contrast

On white

16.65
#12105E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#12105E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12105E
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12105E#FFFFFF#000000##FFFFFF
##12105E1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002260
Deuteranopia (green-blind)
#001A5D
Tritanopia (blue-blind)
#002837
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #12105e;
/* rgb */ color: rgb(18, 16, 94);
/* oklch */ color: oklch(24.9% 0.131 272.6);
Tailwind
colors: {
  custom: {
    50: '#5f508d',
    500: '#12105e',
    950: '#000000',
  },
}
SCSS
$custom: #12105e;
$custom-light: #5f508d;
$custom-dark: #000000;
JSON
{
  "hex": "#12105e",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 94
  },
  "hsl": {
    "h": 241.538,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.24853,
    "c": 0.13098,
    "h": 272.6
  },
  "luminance": 0.01307
}

Semantic roles & 50–950 ramp

primary
#12105E
secondary
#949733
accent
#EE3AE9
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#05020C
muted
#7A787D

Preview Lab

Preview with #12105E

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

Preview Lab → · Contrast checker → · Palette generator →

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