#12113C#12113C

#12113C is a very dark, moderate blue. Relative luminance 0.009; OKLCH L 21.1% C 0.080 H 278.1°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#12113C
RGBrgb(18, 17, 60)
HSLhsl(241, 56%, 15%)
HSVhsv(241, 72%, 24%)
CMYKcmyk(70%, 71.7%, 0%, 76.5%)
CIE-LABlab(7.73, 16.22, -27.58)
CIE-LCHlch(7.73, 32.00, 300.47°)
OKLaboklab(21.12% 0.0112 -0.0794)
OKLCHoklch(21.12% 0.08 278.1)
XYZxyz(1.2653, 0.8556, 4.3726)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12113C #3B3C11
analogous
#11263C #12113C #27113C
triadic
#12113C #3C1211 #113C12
tetradic
#12113C #3C1126 #3B3C11 #113C27
square
#12113C #3C1126 #3B3C11 #113C27
split-complementary
#12113C #3C2711 #263C11
monochromatic
#070718 #070718 #12113C #201F6C #2F2C9B

Accessibility & contrast

On white

17.93
#12113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12113C
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12113C#FFFFFF#000000##FFFFFF
##12113C1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12113c;
/* rgb */ color: rgb(18, 17, 60);
/* oklch */ color: oklch(21.1% 0.080 278.1);
Tailwind
colors: {
  custom: {
    50: '#564f72',
    500: '#12113c',
    950: '#000000',
  },
}
SCSS
$custom: #12113c;
$custom-light: #564f72;
$custom-dark: #000000;
JSON
{
  "hex": "#12113c",
  "rgb": {
    "r": 18,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 241.395,
    "s": 55.844,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2112,
    "c": 0.08017,
    "h": 278.1
  },
  "luminance": 0.00856
}

Semantic roles & 50–950 ramp

primary
#12113C
secondary
#747533
accent
#DF49DC
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030108
muted
#78777B

Preview Lab

Preview with #12113C

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

Preview Lab → · Contrast checker → · Palette generator →

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