#181D75#181D75

#181D75 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.0% C 0.146 H 271.1°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#181D75
RGBrgb(24, 29, 117)
HSLhsl(237, 66%, 28%)
HSVhsv(237, 79%, 46%)
CMYKcmyk(79.5%, 75.2%, 0%, 54.1%)
CIE-LABlab(17.26, 30.94, -50.50)
CIE-LCHlch(17.26, 59.22, 301.49°)
OKLaboklab(29.96% 0.0028 -0.1462)
OKLCHoklch(29.96% 0.146 271.1)
XYZxyz(4.0258, 2.3568, 17.0689)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D75 #757018
analogous
#184C75 #181D75 #411875
triadic
#181D75 #75181D #1D7518
tetradic
#181D75 #75184C #757018 #187541
square
#181D75 #75184C #757018 #187541
split-complementary
#181D75 #754118 #4C7518
monochromatic
#050619 #0E1042 #181D75 #222AA8 #323BD5

Accessibility & contrast

On white

14.27
#181D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#181D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181D75
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D75#FFFFFF#000000##FFFFFF
##181D751.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F78
Deuteranopia (green-blind)
#002673
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #181d75;
/* rgb */ color: rgb(24, 29, 117);
/* oklch */ color: oklch(30.0% 0.146 271.1);
Tailwind
colors: {
  custom: {
    50: '#665a9e',
    500: '#181d75',
    950: '#000000',
  },
}
SCSS
$custom: #181d75;
$custom-light: #665a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#181d75",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 117
  },
  "hsl": {
    "h": 236.774,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29961,
    "c": 0.14622,
    "h": 271.1
  },
  "luminance": 0.02357
}

Semantic roles & 50–950 ramp

primary
#181D75
secondary
#AAA43F
accent
#E03FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181D75

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

Preview Lab → · Contrast checker → · Palette generator →

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