#12183C#12183C

#12183C is a very dark, moderate blue. Relative luminance 0.011; OKLCH L 22.7% C 0.069 H 272.6°. Best body text is #FFFFFF at 17.19:1 contrast (WCAG AA passes).

Color values

HEX#12183C
RGBrgb(18, 24, 60)
HSLhsl(231, 54%, 15%)
HSVhsv(231, 70%, 24%)
CMYKcmyk(70%, 60%, 0%, 76.5%)
CIE-LABlab(9.86, 10.85, -24.12)
CIE-LCHlch(9.86, 26.45, 294.21°)
OKLaboklab(22.71% 0.0031 -0.0691)
OKLCHoklch(22.71% 0.069 272.6)
XYZxyz(1.3914, 1.1080, 4.4146)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12183C #3C3612
analogous
#122D3C #12183C #21123C
triadic
#12183C #3C1218 #183C12
tetradic
#12183C #3C122D #3C3612 #123C21
square
#12183C #3C122D #3C3612 #123C21
split-complementary
#12183C #3C2112 #2D3C12
monochromatic
#070918 #070918 #12183C #202B6B #2E3E9A

Accessibility & contrast

On white

17.19
#12183C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#12183C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12183C
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12183C#FFFFFF#000000##FFFFFF
##12183C1.0017.191.2217.19
#FFFFFF17.191.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041D3D
Deuteranopia (green-blind)
#00193B
Tritanopia (blue-blind)
#002027
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #12183c;
/* rgb */ color: rgb(18, 24, 60);
/* oklch */ color: oklch(22.7% 0.069 272.6);
Tailwind
colors: {
  custom: {
    50: '#555472',
    500: '#12183c',
    950: '#000000',
  },
}
SCSS
$custom: #12183c;
$custom-light: #555472;
$custom-dark: #000000;
JSON
{
  "hex": "#12183c",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 60
  },
  "hsl": {
    "h": 231.429,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.22708,
    "c": 0.06919,
    "h": 272.6
  },
  "luminance": 0.01108
}

Semantic roles & 50–950 ramp

primary
#12183C
secondary
#756C35
accent
#C84BDD
background
#F5F4F6
surface
#E9E7EC
border
#C5C3C7
text
#030208
muted
#78787B

Preview Lab

Preview with #12183C

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

Preview Lab → · Contrast checker → · Palette generator →

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