#181D69#181D69

#181D69 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.6% C 0.130 H 272.0°. Best body text is #FFFFFF at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#181D69
RGBrgb(24, 29, 105)
HSLhsl(236, 63%, 25%)
HSVhsv(236, 77%, 41%)
CMYKcmyk(77.1%, 72.4%, 0%, 58.8%)
CIE-LABlab(15.97, 26.40, -44.83)
CIE-LCHlch(15.97, 52.03, 300.49°)
OKLaboklab(28.64% 0.0045 -0.1297)
OKLCHoklch(28.64% 0.13 272)
XYZxyz(3.3650, 2.0925, 13.5884)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D69 #696418
analogous
#184669 #181D69 #3B1869
triadic
#181D69 #69181D #1D6918
tetradic
#181D69 #691846 #696418 #18693B
square
#181D69 #691846 #696418 #18693B
split-complementary
#181D69 #693B18 #466918
monochromatic
#060719 #0D0F37 #181D69 #232B9B #2F39CD

Accessibility & contrast

On white

14.80
#181D69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#181D69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181D69
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D69#FFFFFF#000000##FFFFFF
##181D691.0014.801.4214.80
#FFFFFF14.801.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.801.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: #181d69;
/* rgb */ color: rgb(24, 29, 105);
/* oklch */ color: oklch(28.6% 0.130 272.0);
Tailwind
colors: {
  custom: {
    50: '#635995',
    500: '#181d69',
    950: '#000000',
  },
}
SCSS
$custom: #181d69;
$custom-light: #635995;
$custom-dark: #000000;
JSON
{
  "hex": "#181d69",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 105
  },
  "hsl": {
    "h": 236.296,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.28642,
    "c": 0.12975,
    "h": 272
  },
  "luminance": 0.02093
}

Semantic roles & 50–950 ramp

primary
#181D69
secondary
#9F993E
accent
#DC42E6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181D69

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

Preview Lab → · Contrast checker → · Palette generator →

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