#12183F#12183F

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

Color values

HEX#12183F
RGBrgb(18, 24, 63)
HSLhsl(232, 56%, 16%)
HSVhsv(232, 71%, 25%)
CMYKcmyk(71.4%, 61.9%, 0%, 75.3%)
CIE-LABlab(10.11, 12.11, -25.85)
CIE-LCHlch(10.11, 28.54, 295.10°)
OKLaboklab(22.98% 0.0034 -0.0742)
OKLCHoklch(22.98% 0.074 272.6)
XYZxyz(1.4730, 1.1406, 4.8442)
Luminance0.0114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12183F #3F3912
analogous
#122E3F #12183F #22123F
triadic
#12183F #3F1218 #183F12
tetradic
#12183F #3F122E #3F3912 #123F22
square
#12183F #3F122E #3F3912 #123F22
split-complementary
#12183F #3F2212 #2E3F12
monochromatic
#070918 #070918 #12183F #202A6F #2D3C9E

Accessibility & contrast

On white

17.10
#12183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12183F
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12183F#FFFFFF#000000##FFFFFF
##12183F1.0017.101.2317.10
#FFFFFF17.101.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011E40
Deuteranopia (green-blind)
#001A3E
Tritanopia (blue-blind)
#002128
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #12183f;
/* rgb */ color: rgb(18, 24, 63);
/* oklch */ color: oklch(23.0% 0.074 272.6);
Tailwind
colors: {
  custom: {
    50: '#565474',
    500: '#12183f',
    950: '#000000',
  },
}
SCSS
$custom: #12183f;
$custom-light: #565474;
$custom-dark: #000000;
JSON
{
  "hex": "#12183f",
  "rgb": {
    "r": 18,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 232,
    "s": 55.556,
    "l": 15.882
  },
  "oklch": {
    "l": 0.22977,
    "c": 0.07428,
    "h": 272.6
  },
  "luminance": 0.01141
}

Semantic roles & 50–950 ramp

primary
#12183F
secondary
#786F35
accent
#CB49DF
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030208
muted
#78787B

Preview Lab

Preview with #12183F

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

Preview Lab → · Contrast checker → · Palette generator →

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