#181E50#181E50

#181E50 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.3% C 0.091 H 273.3°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#181E50
RGBrgb(24, 30, 80)
HSLhsl(234, 54%, 20%)
HSVhsv(234, 70%, 31%)
CMYKcmyk(70%, 62.5%, 0%, 68.6%)
CIE-LABlab(13.84, 15.77, -31.61)
CIE-LCHlch(13.84, 35.32, 296.52°)
OKLaboklab(26.34% 0.0052 -0.0909)
OKLCHoklch(26.34% 0.091 273.3)
XYZxyz(2.2884, 1.7017, 7.7957)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E50 #504A18
analogous
#183A50 #181E50 #2E1850
triadic
#181E50 #50181E #1E5018
tetradic
#181E50 #50183A #504A18 #18502E
square
#181E50 #50183A #504A18 #18502E
split-complementary
#181E50 #502E18 #3A5018
monochromatic
#070918 #0A0C21 #181E50 #26307F #3441AE

Accessibility & contrast

On white

15.67
#181E50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#181E50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E50
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E50#FFFFFF#000000##FFFFFF
##181E501.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#00214F
Tritanopia (blue-blind)
#002A33
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #181e50;
/* rgb */ color: rgb(24, 30, 80);
/* oklch */ color: oklch(26.3% 0.091 273.3);
Tailwind
colors: {
  custom: {
    50: '#5c5981',
    500: '#181e50',
    950: '#000000',
  },
}
SCSS
$custom: #181e50;
$custom-light: #5c5981;
$custom-dark: #000000;
JSON
{
  "hex": "#181e50",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 80
  },
  "hsl": {
    "h": 233.571,
    "s": 53.846,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26339,
    "c": 0.09103,
    "h": 273.3
  },
  "luminance": 0.01702
}

Semantic roles & 50–950 ramp

primary
#181E50
secondary
#877F3D
accent
#CE4BDD
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #181E50

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

Preview Lab → · Contrast checker → · Palette generator →

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