#181F69#181F69

#181F69 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.0% C 0.127 H 271.4°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#181F69
RGBrgb(24, 31, 105)
HSLhsl(235, 63%, 25%)
HSVhsv(235, 77%, 41%)
CMYKcmyk(77.1%, 70.5%, 0%, 58.8%)
CIE-LABlab(16.47, 25.03, -44.00)
CIE-LCHlch(16.47, 50.62, 299.63°)
OKLaboklab(29.01% 0.0032 -0.1272)
OKLCHoklch(29.01% 0.127 271.4)
XYZxyz(3.4156, 2.1937, 13.6053)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181F69 #696218
analogous
#184769 #181F69 #391869
triadic
#181F69 #69181F #1F6918
tetradic
#181F69 #691847 #696218 #186939
square
#181F69 #691847 #696218 #186939
split-complementary
#181F69 #693918 #476918
monochromatic
#060719 #0D1037 #181F69 #232E9B #2F3CCD

Accessibility & contrast

On white

14.60
#181F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#181F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181F69
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181F69#FFFFFF#000000##FFFFFF
##181F691.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6B
Deuteranopia (green-blind)
#002568
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #181f69;
/* rgb */ color: rgb(24, 31, 105);
/* oklch */ color: oklch(29.0% 0.127 271.4);
Tailwind
colors: {
  custom: {
    50: '#635a95',
    500: '#181f69',
    950: '#000000',
  },
}
SCSS
$custom: #181f69;
$custom-light: #635a95;
$custom-dark: #000000;
JSON
{
  "hex": "#181f69",
  "rgb": {
    "r": 24,
    "g": 31,
    "b": 105
  },
  "hsl": {
    "h": 234.815,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.2901,
    "c": 0.12727,
    "h": 271.4
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#181F69
secondary
#9F973E
accent
#D842E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040D
muted
#7A797E

Preview Lab

Preview with #181F69

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

Preview Lab → · Contrast checker → · Palette generator →

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