#12183E#12183E

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

Color values

HEX#12183E
RGBrgb(18, 24, 62)
HSLhsl(232, 55%, 16%)
HSVhsv(232, 71%, 24%)
CMYKcmyk(71%, 61.3%, 0%, 75.7%)
CIE-LABlab(10.03, 11.69, -25.28)
CIE-LCHlch(10.03, 27.85, 294.82°)
OKLaboklab(22.89% 0.0033 -0.0725)
OKLCHoklch(22.89% 0.073 272.6)
XYZxyz(1.4453, 1.1295, 4.6984)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12183E #3E3812
analogous
#122E3E #12183E #22123E
triadic
#12183E #3E1218 #183E12
tetradic
#12183E #3E122E #3E3812 #123E22
square
#12183E #3E122E #3E3812 #123E22
split-complementary
#12183E #3E2212 #2E3E12
monochromatic
#070918 #070918 #12183E #202A6D #2E3D9D

Accessibility & contrast

On white

17.13
#12183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#12183E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12183E
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12183E#FFFFFF#000000##FFFFFF
##12183E1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021E3F
Deuteranopia (green-blind)
#001A3D
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #12183e;
/* rgb */ color: rgb(18, 24, 62);
/* oklch */ color: oklch(22.9% 0.073 272.6);
Tailwind
colors: {
  custom: {
    50: '#555473',
    500: '#12183e',
    950: '#000000',
  },
}
SCSS
$custom: #12183e;
$custom-light: #555473;
$custom-dark: #000000;
JSON
{
  "hex": "#12183e",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 231.818,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22886,
    "c": 0.07259,
    "h": 272.6
  },
  "luminance": 0.0113
}

Semantic roles & 50–950 ramp

primary
#12183E
secondary
#776E35
accent
#CA49DE
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #12183E

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

Preview Lab → · Contrast checker → · Palette generator →

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