#12115A#12115A

#12115A is a very dark, vivid blue. Relative luminance 0.013; OKLCH L 24.5% C 0.125 H 272.9°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#12115A
RGBrgb(18, 17, 90)
HSLhsl(241, 68%, 21%)
HSVhsv(241, 81%, 35%)
CMYKcmyk(80%, 81.1%, 0%, 64.7%)
CIE-LABlab(11.05, 27.93, -42.98)
CIE-LCHlch(11.05, 51.26, 303.02°)
OKLaboklab(24.51% 0.0063 -0.1244)
OKLCHoklch(24.51% 0.125 272.9)
XYZxyz(2.2947, 1.2674, 9.7946)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12115A #595A11
analogous
#11345A #12115A #36115A
triadic
#12115A #5A1211 #115A12
tetradic
#12115A #5A1134 #595A11 #115A36
square
#12115A #5A1134 #595A11 #115A36
split-complementary
#12115A #5A3611 #345A11
monochromatic
#05051A #080727 #12115A #1C1B8D #2724C1

Accessibility & contrast

On white

16.75
#12115A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#12115A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12115A
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12115A#FFFFFF#000000##FFFFFF
##12115A1.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00215C
Deuteranopia (green-blind)
#001A59
Tritanopia (blue-blind)
#002735
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #12115a;
/* rgb */ color: rgb(18, 17, 90);
/* oklch */ color: oklch(24.5% 0.125 272.9);
Tailwind
colors: {
  custom: {
    50: '#5e508a',
    500: '#12115a',
    950: '#000000',
  },
}
SCSS
$custom: #12115a;
$custom-light: #5e508a;
$custom-dark: #000000;
JSON
{
  "hex": "#12115a",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 90
  },
  "hsl": {
    "h": 240.822,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.24511,
    "c": 0.12454,
    "h": 272.9
  },
  "luminance": 0.01268
}

Semantic roles & 50–950 ramp

primary
#12115A
secondary
#929334
accent
#EB3DE9
background
#F5F4F8
surface
#EAE7F0
border
#C6C3CB
text
#05020C
muted
#79787D

Preview Lab

Preview with #12115A

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

Preview Lab → · Contrast checker → · Palette generator →

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