#12113B#12113B

#12113B is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 21.0% C 0.079 H 278.3°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#12113B
RGBrgb(18, 17, 59)
HSLhsl(241, 55%, 15%)
HSVhsv(241, 71%, 23%)
CMYKcmyk(69.5%, 71.2%, 0%, 76.9%)
CIE-LABlab(7.63, 15.80, -27.01)
CIE-LCHlch(7.63, 31.30, 300.33°)
OKLaboklab(21.02% 0.0113 -0.0777)
OKLCHoklch(21.02% 0.079 278.3)
XYZxyz(1.2391, 0.8452, 4.2347)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12113B #3A3B11
analogous
#11253B #12113B #27113B
triadic
#12113B #3B1211 #113B12
tetradic
#12113B #3B1125 #3A3B11 #113B27
square
#12113B #3B1125 #3A3B11 #113B27
split-complementary
#12113B #3B2711 #253B11
monochromatic
#070718 #070718 #12113B #201F6B #2F2C9A

Accessibility & contrast

On white

17.96
#12113B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#12113B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12113B
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12113B#FFFFFF#000000##FFFFFF
##12113B1.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193C
Deuteranopia (green-blind)
#00153A
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #12113b;
/* rgb */ color: rgb(18, 17, 59);
/* oklch */ color: oklch(21.0% 0.079 278.3);
Tailwind
colors: {
  custom: {
    50: '#554f71',
    500: '#12113b',
    950: '#000000',
  },
}
SCSS
$custom: #12113b;
$custom-light: #554f71;
$custom-dark: #000000;
JSON
{
  "hex": "#12113b",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 59
  },
  "hsl": {
    "h": 241.429,
    "s": 55.263,
    "l": 14.902
  },
  "oklch": {
    "l": 0.21019,
    "c": 0.07855,
    "h": 278.3
  },
  "luminance": 0.00845
}

Semantic roles & 50–950 ramp

primary
#12113B
secondary
#737433
accent
#DF49DB
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #12113B

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

Preview Lab → · Contrast checker → · Palette generator →

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