#181E63#181E63

#181E63 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.2% C 0.120 H 272.1°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#181E63
RGBrgb(24, 30, 99)
HSLhsl(235, 61%, 24%)
HSVhsv(235, 76%, 39%)
CMYKcmyk(75.8%, 69.7%, 0%, 61.2%)
CIE-LABlab(15.61, 23.37, -41.47)
CIE-LCHlch(15.61, 47.60, 299.41°)
OKLaboklab(28.2% 0.0045 -0.1198)
OKLCHoklch(28.2% 0.12 272.1)
XYZxyz(3.0923, 2.0233, 12.0295)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E63 #635D18
analogous
#184463 #181E63 #381863
triadic
#181E63 #63181E #1E6318
tetradic
#181E63 #631844 #635D18 #186338
square
#181E63 #631844 #635D18 #186338
split-complementary
#181E63 #633818 #446318
monochromatic
#060719 #0C0F32 #181E63 #242D94 #303CC6

Accessibility & contrast

On white

14.95
#181E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181E63
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E63#FFFFFF#000000##FFFFFF
##181E631.0014.951.4014.95
#FFFFFF14.951.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002362
Tritanopia (blue-blind)
#00303D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #181e63;
/* rgb */ color: rgb(24, 30, 99);
/* oklch */ color: oklch(28.2% 0.120 272.1);
Tailwind
colors: {
  custom: {
    50: '#615a90',
    500: '#181e63',
    950: '#000000',
  },
}
SCSS
$custom: #181e63;
$custom-light: #615a90;
$custom-dark: #000000;
JSON
{
  "hex": "#181e63",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 99
  },
  "hsl": {
    "h": 235.2,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.28196,
    "c": 0.11991,
    "h": 272.1
  },
  "luminance": 0.02024
}

Semantic roles & 50–950 ramp

primary
#181E63
secondary
#99923E
accent
#D744E4
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030D
muted
#7A787D

Preview Lab

Preview with #181E63

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

Preview Lab → · Contrast checker → · Palette generator →

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