#12109D#12109D

#12109D is a dark, highly saturated blue. Relative luminance 0.029; OKLCH L 33.1% C 0.207 H 267.6°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#12109D
RGBrgb(18, 16, 157)
HSLhsl(241, 82%, 34%)
HSVhsv(241, 90%, 62%)
CMYKcmyk(88.5%, 89.8%, 0%, 38.4%)
CIE-LABlab(19.77, 50.47, -71.45)
CIE-LCHlch(19.77, 87.48, 305.24°)
OKLaboklab(33.08% -0.0085 -0.2067)
OKLCHoklch(33.08% 0.207 267.6)
XYZxyz(6.5185, 2.9327, 32.1143)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12109D #9B9D10
analogous
#10559D #12109D #59109D
triadic
#12109D #9D1210 #109D12
tetradic
#12109D #9D1055 #9B9D10 #109D59
square
#12109D #9D1055 #9B9D10 #109D59
split-complementary
#12109D #9D5910 #559D10
monochromatic
#05052E #0C0A65 #12109D #1816D5 #3F3CEB

Accessibility & contrast

On white

13.23
#12109D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#12109D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12109D
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12109D#FFFFFF#000000##FFFFFF
##12109D1.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0037A1
Deuteranopia (green-blind)
#00289B
Tritanopia (blue-blind)
#00425C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #12109d;
/* rgb */ color: rgb(18, 16, 157);
/* oklch */ color: oklch(33.1% 0.207 267.6);
Tailwind
colors: {
  custom: {
    50: '#7156bc',
    500: '#12109d',
    950: '#000000',
  },
}
SCSS
$custom: #12109d;
$custom-light: #7156bc;
$custom-dark: #000000;
JSON
{
  "hex": "#12109d",
  "rgb": {
    "r": 18,
    "g": 16,
    "b": 157
  },
  "hsl": {
    "h": 240.851,
    "s": 81.503,
    "l": 33.922
  },
  "oklch": {
    "l": 0.33078,
    "c": 0.20689,
    "h": 267.6
  },
  "luminance": 0.02934
}

Semantic roles & 50–950 ramp

primary
#12109D
secondary
#C8CA3E
accent
#F830F5
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0312
muted
#7C7881

Preview Lab

Preview with #12109D

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

Preview Lab → · Contrast checker → · Palette generator →

#12109D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva