#12113E#12113E

#12113E is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.3% C 0.083 H 277.6°. Best body text is #FFFFFF at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#12113E
RGBrgb(18, 17, 62)
HSLhsl(241, 57%, 15%)
HSVhsv(241, 73%, 24%)
CMYKcmyk(71%, 72.6%, 0%, 75.7%)
CIE-LABlab(7.92, 17.04, -28.69)
CIE-LCHlch(7.92, 33.37, 300.70°)
OKLaboklab(21.33% 0.0111 -0.0826)
OKLCHoklch(21.33% 0.083 277.6)
XYZxyz(1.3191, 0.8772, 4.6563)
Luminance0.0088 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12113E #3D3E11
analogous
#11263E #12113E #28113E
triadic
#12113E #3E1211 #113E12
tetradic
#12113E #3E1126 #3D3E11 #113E28
square
#12113E #3E1126 #3D3E11 #113E28
split-complementary
#12113E #3E2811 #263E11
monochromatic
#070718 #070718 #12113E #201E6E #2E2B9E

Accessibility & contrast

On white

17.87
#12113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#12113E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12113E
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12113E#FFFFFF#000000##FFFFFF
##12113E1.0017.871.1817.87
#FFFFFF17.871.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#00153D
Tritanopia (blue-blind)
#001C25
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #12113e;
/* rgb */ color: rgb(18, 17, 62);
/* oklch */ color: oklch(21.3% 0.083 277.6);
Tailwind
colors: {
  custom: {
    50: '#564f74',
    500: '#12113e',
    950: '#000000',
  },
}
SCSS
$custom: #12113e;
$custom-light: #564f74;
$custom-dark: #000000;
JSON
{
  "hex": "#12113e",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 241.333,
    "s": 56.962,
    "l": 15.49
  },
  "oklch": {
    "l": 0.21326,
    "c": 0.08338,
    "h": 277.6
  },
  "luminance": 0.00877
}

Semantic roles & 50–950 ramp

primary
#12113E
secondary
#767733
accent
#E048DD
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #12113E

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

Preview Lab → · Contrast checker → · Palette generator →

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