#12113D#12113D

#12113D is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.2% C 0.082 H 277.8°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#12113D
RGBrgb(18, 17, 61)
HSLhsl(241, 56%, 15%)
HSVhsv(241, 72%, 24%)
CMYKcmyk(70.5%, 72.1%, 0%, 76.1%)
CIE-LABlab(7.83, 16.63, -28.14)
CIE-LCHlch(7.83, 32.68, 300.59°)
OKLaboklab(21.22% 0.0112 -0.081)
OKLCHoklch(21.22% 0.082 277.8)
XYZxyz(1.2919, 0.8663, 4.5131)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12113D #3C3D11
analogous
#11263D #12113D #28113D
triadic
#12113D #3D1211 #113D12
tetradic
#12113D #3D1126 #3C3D11 #113D28
square
#12113D #3D1126 #3C3D11 #113D28
split-complementary
#12113D #3D2811 #263D11
monochromatic
#070718 #070718 #12113D #201E6D #2E2C9D

Accessibility & contrast

On white

17.90
#12113D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12113D
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12113D#FFFFFF#000000##FFFFFF
##12113D1.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12113d;
/* rgb */ color: rgb(18, 17, 61);
/* oklch */ color: oklch(21.2% 0.082 277.8);
Tailwind
colors: {
  custom: {
    50: '#564f73',
    500: '#12113d',
    950: '#000000',
  },
}
SCSS
$custom: #12113d;
$custom-light: #564f73;
$custom-dark: #000000;
JSON
{
  "hex": "#12113d",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 61
  },
  "hsl": {
    "h": 241.364,
    "s": 56.41,
    "l": 15.294
  },
  "oklch": {
    "l": 0.21223,
    "c": 0.08178,
    "h": 277.8
  },
  "luminance": 0.00866
}

Semantic roles & 50–950 ramp

primary
#12113D
secondary
#757633
accent
#E048DC
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B

Preview Lab

Preview with #12113D

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

Preview Lab → · Contrast checker → · Palette generator →

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