#181E69#181E69

#181E69 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.8% C 0.129 H 271.7°. Best body text is #FFFFFF at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#181E69
RGBrgb(24, 30, 105)
HSLhsl(236, 63%, 25%)
HSVhsv(236, 77%, 41%)
CMYKcmyk(77.1%, 71.4%, 0%, 58.8%)
CIE-LABlab(16.22, 25.72, -44.42)
CIE-LCHlch(16.22, 51.33, 300.07°)
OKLaboklab(28.82% 0.0039 -0.1285)
OKLCHoklch(28.82% 0.129 271.7)
XYZxyz(3.3899, 2.1423, 13.5967)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181E69 #696318
analogous
#184669 #181E69 #3B1869
triadic
#181E69 #69181E #1E6918
tetradic
#181E69 #691846 #696318 #18693B
square
#181E69 #691846 #696318 #18693B
split-complementary
#181E69 #693B18 #466918
monochromatic
#060719 #0D1037 #181E69 #232C9B #2F3ACD

Accessibility & contrast

On white

14.70
#181E69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#181E69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181E69
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181E69#FFFFFF#000000##FFFFFF
##181E691.0014.701.4314.70
#FFFFFF14.701.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002468
Tritanopia (blue-blind)
#003240
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #181e69;
/* rgb */ color: rgb(24, 30, 105);
/* oklch */ color: oklch(28.8% 0.129 271.7);
Tailwind
colors: {
  custom: {
    50: '#635a95',
    500: '#181e69',
    950: '#000000',
  },
}
SCSS
$custom: #181e69;
$custom-light: #635a95;
$custom-dark: #000000;
JSON
{
  "hex": "#181e69",
  "rgb": {
    "r": 24,
    "g": 30,
    "b": 105
  },
  "hsl": {
    "h": 235.556,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28824,
    "c": 0.12852,
    "h": 271.7
  },
  "luminance": 0.02143
}

Semantic roles & 50–950 ramp

primary
#181E69
secondary
#9F983E
accent
#DA42E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181E69

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

Preview Lab → · Contrast checker → · Palette generator →

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