#12113A#12113A

#12113A is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.9% C 0.077 H 278.5°. Best body text is #FFFFFF at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#12113A
RGBrgb(18, 17, 58)
HSLhsl(241, 55%, 15%)
HSVhsv(241, 71%, 23%)
CMYKcmyk(69%, 70.7%, 0%, 77.3%)
CIE-LABlab(7.54, 15.39, -26.44)
CIE-LCHlch(7.54, 30.59, 300.19°)
OKLaboklab(20.92% 0.0114 -0.0761)
OKLCHoklch(20.92% 0.077 278.5)
XYZxyz(1.2134, 0.8349, 4.0994)
Luminance0.0083 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12113A #393A11
analogous
#11253A #12113A #27113A
triadic
#12113A #3A1211 #113A12
tetradic
#12113A #3A1125 #393A11 #113A27
square
#12113A #3A1125 #393A11 #113A27
split-complementary
#12113A #3A2711 #253A11
monochromatic
#070718 #070718 #12113A #211F69 #2F2D99

Accessibility & contrast

On white

17.99
#12113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12113A
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12113A#FFFFFF#000000##FFFFFF
##12113A1.0017.991.1717.99
#FFFFFF17.991.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183B
Deuteranopia (green-blind)
#001539
Tritanopia (blue-blind)
#001B23
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #12113a;
/* rgb */ color: rgb(18, 17, 58);
/* oklch */ color: oklch(20.9% 0.077 278.5);
Tailwind
colors: {
  custom: {
    50: '#554e70',
    500: '#12113a',
    950: '#000000',
  },
}
SCSS
$custom: #12113a;
$custom-light: #554e70;
$custom-dark: #000000;
JSON
{
  "hex": "#12113a",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 241.463,
    "s": 54.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.20918,
    "c": 0.07692,
    "h": 278.5
  },
  "luminance": 0.00835
}

Semantic roles & 50–950 ramp

primary
#12113A
secondary
#727333
accent
#DE4ADA
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030107
muted
#78777A

Preview Lab

Preview with #12113A

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

Preview Lab → · Contrast checker → · Palette generator →

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