#12114B#12114B

#12114B is a very dark, moderate blue. Relative luminance 0.010; OKLCH L 22.7% C 0.103 H 275.2°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#12114B
RGBrgb(18, 17, 75)
HSLhsl(241, 63%, 18%)
HSVhsv(241, 77%, 29%)
CMYKcmyk(76%, 77.3%, 0%, 70.6%)
CIE-LABlab(9.30, 22.21, -35.60)
CIE-LCHlch(9.30, 41.96, 301.97°)
OKLaboklab(22.74% 0.0093 -0.1028)
OKLCHoklch(22.74% 0.103 275.2)
XYZxyz(1.7195, 1.0373, 6.7649)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12114B #4A4B11
analogous
#112D4B #12114B #2F114B
triadic
#12114B #4B1211 #114B12
tetradic
#12114B #4B112D #4A4B11 #114B2F
square
#12114B #4B112D #4A4B11 #114B2F
split-complementary
#12114B #4B2F11 #2D4B11
monochromatic
#060619 #060619 #12114B #1E1C7D #2A28AF

Accessibility & contrast

On white

17.39
#12114B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#12114B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12114B
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12114B#FFFFFF#000000##FFFFFF
##12114B1.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4D
Deuteranopia (green-blind)
#00174A
Tritanopia (blue-blind)
#00212C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #12114b;
/* rgb */ color: rgb(18, 17, 75);
/* oklch */ color: oklch(22.7% 0.103 275.2);
Tailwind
colors: {
  custom: {
    50: '#5a4f7e',
    500: '#12114b',
    950: '#000000',
  },
}
SCSS
$custom: #12114b;
$custom-light: #5a4f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#12114b",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 75
  },
  "hsl": {
    "h": 241.034,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.22744,
    "c": 0.10327,
    "h": 275.2
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#12114B
secondary
#838433
accent
#E642E3
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12114B

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

Preview Lab → · Contrast checker → · Palette generator →

#12114B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva