#12183D#12183D

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

Color values

HEX#12183D
RGBrgb(18, 24, 61)
HSLhsl(232, 54%, 15%)
HSVhsv(232, 70%, 24%)
CMYKcmyk(70.5%, 60.7%, 0%, 76.1%)
CIE-LABlab(9.94, 11.27, -24.70)
CIE-LCHlch(9.94, 27.15, 294.52°)
OKLaboklab(22.8% 0.0032 -0.0708)
OKLCHoklch(22.8% 0.071 272.6)
XYZxyz(1.4181, 1.1187, 4.5552)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12183D #3D3712
analogous
#122D3D #12183D #21123D
triadic
#12183D #3D1218 #183D12
tetradic
#12183D #3D122D #3D3712 #123D21
square
#12183D #3D122D #3D3712 #123D21
split-complementary
#12183D #3D2112 #2D3D12
monochromatic
#070918 #070918 #12183D #202B6C #2E3D9C

Accessibility & contrast

On white

17.16
#12183D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12183D
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12183D#FFFFFF#000000##FFFFFF
##12183D1.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031D3E
Deuteranopia (green-blind)
#001A3C
Tritanopia (blue-blind)
#002127
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #12183d;
/* rgb */ color: rgb(18, 24, 61);
/* oklch */ color: oklch(22.8% 0.071 272.6);
Tailwind
colors: {
  custom: {
    50: '#555473',
    500: '#12183d',
    950: '#000000',
  },
}
SCSS
$custom: #12183d;
$custom-light: #555473;
$custom-dark: #000000;
JSON
{
  "hex": "#12183d",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 61
  },
  "hsl": {
    "h": 231.628,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.22796,
    "c": 0.07089,
    "h": 272.6
  },
  "luminance": 0.01119
}

Semantic roles & 50–950 ramp

primary
#12183D
secondary
#766D35
accent
#C94ADE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #12183D

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

Preview Lab → · Contrast checker → · Palette generator →

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