#181E5E#181E5E

#181E5E is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.7% C 0.113 H 272.5°. Best body text is #FFFFFF at 15.15:1 contrast (WCAG AA passes).

Color values

HEX#181E5E
RGBrgb(24, 30, 94)
HSLhsl(235, 59%, 23%)
HSVhsv(235, 74%, 37%)
CMYKcmyk(74.5%, 68.1%, 0%, 63.1%)
CIE-LABlab(15.12, 21.40, -38.95)
CIE-LCHlch(15.12, 44.44, 298.78°)
OKLaboklab(27.69% 0.0048 -0.1125)
OKLCHoklch(27.69% 0.113 272.5)
XYZxyz(2.8607, 1.9306, 10.8094)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E5E #5E5818
analogous
#18415E #181E5E #35185E
triadic
#181E5E #5E181E #1E5E18
tetradic
#181E5E #5E1841 #5E5818 #185E35
square
#181E5E #5E1841 #5E5818 #185E35
split-complementary
#181E5E #5E3518 #415E18
monochromatic
#060818 #0C0E2D #181E5E #242E8F #313DC0

Accessibility & contrast

On white

15.15
#181E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#181E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E5E
15.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E5E#FFFFFF#000000##FFFFFF
##181E5E1.0015.151.3915.15
#FFFFFF15.151.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002960
Deuteranopia (green-blind)
#00235D
Tritanopia (blue-blind)
#002F3B
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181e5e;
/* rgb */ color: rgb(24, 30, 94);
/* oklch */ color: oklch(27.7% 0.113 272.5);
Tailwind
colors: {
  custom: {
    50: '#60598c',
    500: '#181e5e',
    950: '#000000',
  },
}
SCSS
$custom: #181e5e;
$custom-light: #60598c;
$custom-dark: #000000;
JSON
{
  "hex": "#181e5e",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 94
  },
  "hsl": {
    "h": 234.857,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.27687,
    "c": 0.11256,
    "h": 272.5
  },
  "luminance": 0.01931
}

Semantic roles & 50–950 ramp

primary
#181E5E
secondary
#948D3D
accent
#D545E3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #181E5E

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

Preview Lab → · Contrast checker → · Palette generator →

#181E5E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva