#181E60#181E60

#181E60 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.9% C 0.116 H 272.3°. Best body text is #FFFFFF at 15.07:1 contrast (WCAG AA passes).

Color values

HEX#181E60
RGBrgb(24, 30, 96)
HSLhsl(235, 60%, 24%)
HSVhsv(235, 75%, 38%)
CMYKcmyk(75%, 68.7%, 0%, 62.4%)
CIE-LABlab(15.31, 22.19, -39.97)
CIE-LCHlch(15.31, 45.71, 299.04°)
OKLaboklab(27.89% 0.0047 -0.1154)
OKLCHoklch(27.89% 0.116 272.3)
XYZxyz(2.9516, 1.9670, 11.2882)
Luminance0.0197 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E60 #605A18
analogous
#184260 #181E60 #361860
triadic
#181E60 #60181E #1E6018
tetradic
#181E60 #601842 #605A18 #186036
square
#181E60 #601842 #605A18 #186036
split-complementary
#181E60 #603618 #426018
monochromatic
#060818 #0C0F2F #181E60 #242D91 #303DC2

Accessibility & contrast

On white

15.07
#181E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181E60
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E60#FFFFFF#000000##FFFFFF
##181E601.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#00235F
Tritanopia (blue-blind)
#002F3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #181e60;
/* rgb */ color: rgb(24, 30, 96);
/* oklch */ color: oklch(27.9% 0.116 272.3);
Tailwind
colors: {
  custom: {
    50: '#61598e',
    500: '#181e60',
    950: '#000000',
  },
}
SCSS
$custom: #181e60;
$custom-light: #61598e;
$custom-dark: #000000;
JSON
{
  "hex": "#181e60",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 96
  },
  "hsl": {
    "h": 235,
    "s": 60,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27889,
    "c": 0.11553,
    "h": 272.3
  },
  "luminance": 0.01967
}

Semantic roles & 50–950 ramp

primary
#181E60
secondary
#968F3D
accent
#D645E3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #181E60

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

Preview Lab → · Contrast checker → · Palette generator →

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