#12114F#12114F

#12114F is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 23.2% C 0.109 H 274.5°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#12114F
RGBrgb(18, 17, 79)
HSLhsl(241, 65%, 19%)
HSVhsv(241, 78%, 31%)
CMYKcmyk(77.2%, 78.5%, 0%, 69%)
CIE-LABlab(9.75, 23.77, -37.62)
CIE-LCHlch(9.75, 44.50, 302.28°)
OKLaboklab(23.2% 0.0086 -0.1088)
OKLCHoklch(23.2% 0.109 274.5)
XYZxyz(1.8607, 1.0938, 7.5087)
Luminance0.0109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12114F #4E4F11
analogous
#112F4F #12114F #31114F
triadic
#12114F #4F1211 #114F12
tetradic
#12114F #4F112F #4E4F11 #114F31
square
#12114F #4F112F #4E4F11 #114F31
split-complementary
#12114F #4F3111 #2F4F11
monochromatic
#060519 #07061D #12114F #1D1C81 #2927B4

Accessibility & contrast

On white

17.23
#12114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#12114F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12114F
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12114F#FFFFFF#000000##FFFFFF
##12114F1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E51
Deuteranopia (green-blind)
#00184E
Tritanopia (blue-blind)
#00222E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #12114f;
/* rgb */ color: rgb(18, 17, 79);
/* oklch */ color: oklch(23.2% 0.109 274.5);
Tailwind
colors: {
  custom: {
    50: '#5b4f81',
    500: '#12114f',
    950: '#000000',
  },
}
SCSS
$custom: #12114f;
$custom-light: #5b4f81;
$custom-dark: #000000;
JSON
{
  "hex": "#12114f",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 240.968,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.23204,
    "c": 0.1091,
    "h": 274.5
  },
  "luminance": 0.01094
}

Semantic roles & 50–950 ramp

primary
#12114F
secondary
#878833
accent
#E840E5
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12114F

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

Preview Lab → · Contrast checker → · Palette generator →

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