#181D66#181D66

#181D66 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.126 H 272.2°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#181D66
RGBrgb(24, 29, 102)
HSLhsl(236, 62%, 25%)
HSVhsv(236, 76%, 40%)
CMYKcmyk(76.5%, 71.6%, 0%, 60%)
CIE-LABlab(15.65, 25.24, -43.38)
CIE-LCHlch(15.65, 50.18, 300.19°)
OKLaboklab(28.32% 0.0049 -0.1254)
OKLCHoklch(28.32% 0.126 272.2)
XYZxyz(3.2135, 2.0319, 12.7906)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D66 #666118
analogous
#184466 #181D66 #3A1866
triadic
#181D66 #66181D #1D6618
tetradic
#181D66 #661844 #666118 #18663A
square
#181D66 #661844 #666118 #18663A
split-complementary
#181D66 #663A18 #446618
monochromatic
#060719 #0C0F34 #181D66 #242B98 #2F39C9

Accessibility & contrast

On white

14.93
#181D66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#181D66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181D66
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D66#FFFFFF#000000##FFFFFF
##181D661.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002365
Tritanopia (blue-blind)
#00313E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #181d66;
/* rgb */ color: rgb(24, 29, 102);
/* oklch */ color: oklch(28.3% 0.126 272.2);
Tailwind
colors: {
  custom: {
    50: '#625992',
    500: '#181d66',
    950: '#000000',
  },
}
SCSS
$custom: #181d66;
$custom-light: #625992;
$custom-dark: #000000;
JSON
{
  "hex": "#181d66",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 102
  },
  "hsl": {
    "h": 236.154,
    "s": 61.905,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28322,
    "c": 0.1255,
    "h": 272.2
  },
  "luminance": 0.02032
}

Semantic roles & 50–950 ramp

primary
#181D66
secondary
#9C963E
accent
#DB43E5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181D66

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

Preview Lab → · Contrast checker → · Palette generator →

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