#181D67#181D67

#181D67 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.4% C 0.127 H 272.1°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#181D67
RGBrgb(24, 29, 103)
HSLhsl(236, 62%, 25%)
HSVhsv(236, 77%, 40%)
CMYKcmyk(76.7%, 71.8%, 0%, 59.6%)
CIE-LABlab(15.76, 25.63, -43.86)
CIE-LCHlch(15.76, 50.80, 300.29°)
OKLaboklab(28.43% 0.0048 -0.1268)
OKLCHoklch(28.43% 0.127 272.1)
XYZxyz(3.2634, 2.0519, 13.0534)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D67 #676218
analogous
#184467 #181D67 #3B1867
triadic
#181D67 #67181D #1D6718
tetradic
#181D67 #671844 #676218 #18673B
square
#181D67 #671844 #676218 #18673B
split-complementary
#181D67 #673B18 #446718
monochromatic
#060719 #0C0F35 #181D67 #242B99 #2F39CA

Accessibility & contrast

On white

14.89
#181D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181D67
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D67#FFFFFF#000000##FFFFFF
##181D671.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002466
Tritanopia (blue-blind)
#00313F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #181d67;
/* rgb */ color: rgb(24, 29, 103);
/* oklch */ color: oklch(28.4% 0.127 272.1);
Tailwind
colors: {
  custom: {
    50: '#635993',
    500: '#181d67',
    950: '#000000',
  },
}
SCSS
$custom: #181d67;
$custom-light: #635993;
$custom-dark: #000000;
JSON
{
  "hex": "#181d67",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 103
  },
  "hsl": {
    "h": 236.203,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28428,
    "c": 0.12693,
    "h": 272.1
  },
  "luminance": 0.02052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #181D67

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

Preview Lab → · Contrast checker → · Palette generator →

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