#181E61#181E61

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

Color values

HEX#181E61
RGBrgb(24, 30, 97)
HSLhsl(235, 60%, 24%)
HSVhsv(235, 75%, 38%)
CMYKcmyk(75.3%, 69.1%, 0%, 62%)
CIE-LABlab(15.41, 22.59, -40.47)
CIE-LCHlch(15.41, 46.35, 299.17°)
OKLaboklab(27.99% 0.0046 -0.1169)
OKLCHoklch(27.99% 0.117 272.3)
XYZxyz(2.9979, 1.9855, 11.5322)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E61 #615B18
analogous
#184261 #181E61 #361861
triadic
#181E61 #61181E #1E6118
tetradic
#181E61 #611842 #615B18 #186136
square
#181E61 #611842 #615B18 #186136
split-complementary
#181E61 #613618 #426118
monochromatic
#060819 #0C0F30 #181E61 #242D92 #303CC3

Accessibility & contrast

On white

15.03
#181E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#181E61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E61
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E61#FFFFFF#000000##FFFFFF
##181E611.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002360
Tritanopia (blue-blind)
#00303C
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #181e61;
/* rgb */ color: rgb(24, 30, 97);
/* oklch */ color: oklch(28.0% 0.117 272.3);
Tailwind
colors: {
  custom: {
    50: '#615a8f',
    500: '#181e61',
    950: '#000000',
  },
}
SCSS
$custom: #181e61;
$custom-light: #615a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#181e61",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 97
  },
  "hsl": {
    "h": 235.068,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.27991,
    "c": 0.117,
    "h": 272.3
  },
  "luminance": 0.01986
}

Semantic roles & 50–950 ramp

primary
#181E61
secondary
#97903D
accent
#D644E3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #181E61

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

Preview Lab → · Contrast checker → · Palette generator →

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