#12106A#12106A

#12106A is a dark, vivid blue. Relative luminance 0.015; OKLCH L 26.4% C 0.147 H 271.2°. Best body text is #FFFFFF at 16.06:1 contrast (WCAG AA passes).

Color values

HEX#12106A
RGBrgb(18, 16, 106)
HSLhsl(241, 74%, 24%)
HSVhsv(241, 85%, 42%)
CMYKcmyk(83%, 84.9%, 0%, 58.4%)
CIE-LABlab(12.86, 34.25, -50.64)
CIE-LCHlch(12.86, 61.13, 304.08°)
OKLaboklab(26.37% 0.003 -0.1466)
OKLCHoklch(26.37% 0.147 271.2)
XYZxyz(3.0354, 1.5394, 13.7700)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12106A #686A10
analogous
#103B6A #12106A #3F106A
triadic
#12106A #6A1210 #106A12
tetradic
#12106A #6A103B #686A10 #106A3F
square
#12106A #6A103B #686A10 #106A3F
split-complementary
#12106A #6A3F10 #3B6A10
monochromatic
#05041B #090835 #12106A #1B189F #2420D4

Accessibility & contrast

On white

16.06
#12106A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12106A
16.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12106A#FFFFFF#000000##FFFFFF
##12106A1.0016.061.3116.06
#FFFFFF16.061.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12106a;
/* rgb */ color: rgb(18, 16, 106);
/* oklch */ color: oklch(26.4% 0.147 271.2);
Tailwind
colors: {
  custom: {
    50: '#635196',
    500: '#12106a',
    950: '#000000',
  },
}
SCSS
$custom: #12106a;
$custom-light: #635196;
$custom-dark: #000000;
JSON
{
  "hex": "#12106a",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 106
  },
  "hsl": {
    "h": 241.333,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.26369,
    "c": 0.14661,
    "h": 271.2
  },
  "luminance": 0.0154
}

Semantic roles & 50–950 ramp

primary
#12106A
secondary
#A0A234
accent
#F037EC
background
#F6F4F9
surface
#EBE7F2
border
#C6C3CC
text
#06020D
muted
#7A787E

Preview Lab

Preview with #12106A

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

Preview Lab → · Contrast checker → · Palette generator →

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