#181D65#181D65

#181D65 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.2% C 0.124 H 272.3°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#181D65
RGBrgb(24, 29, 101)
HSLhsl(236, 62%, 25%)
HSVhsv(236, 76%, 40%)
CMYKcmyk(76.2%, 71.3%, 0%, 60.4%)
CIE-LABlab(15.55, 24.85, -42.88)
CIE-LCHlch(15.55, 49.56, 300.09°)
OKLaboklab(28.22% 0.005 -0.124)
OKLCHoklch(28.22% 0.124 272.3)
XYZxyz(3.1642, 2.0122, 12.5310)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181D65 #656018
analogous
#184465 #181D65 #3A1865
triadic
#181D65 #65181D #1D6518
tetradic
#181D65 #651844 #656018 #18653A
square
#181D65 #651844 #656018 #18653A
split-complementary
#181D65 #653A18 #446518
monochromatic
#060719 #0C0F34 #181D65 #242B96 #3039C8

Accessibility & contrast

On white

14.97
#181D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#181D65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181D65
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181D65#FFFFFF#000000##FFFFFF
##181D651.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002364
Tritanopia (blue-blind)
#00303E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #181d65;
/* rgb */ color: rgb(24, 29, 101);
/* oklch */ color: oklch(28.2% 0.124 272.3);
Tailwind
colors: {
  custom: {
    50: '#625992',
    500: '#181d65',
    950: '#000000',
  },
}
SCSS
$custom: #181d65;
$custom-light: #625992;
$custom-dark: #000000;
JSON
{
  "hex": "#181d65",
  "rgb": {
    "r": 24,
    "g": 29,
    "b": 101
  },
  "hsl": {
    "h": 236.104,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28216,
    "c": 0.12408,
    "h": 272.3
  },
  "luminance": 0.02013
}

Semantic roles & 50–950 ramp

primary
#181D65
secondary
#9B953E
accent
#DA43E5
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #181D65

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

Preview Lab → · Contrast checker → · Palette generator →

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