#183D81#183D81

#183D81 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.6% C 0.123 H 261.3°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#183D81
RGBrgb(24, 61, 129)
HSLhsl(219, 69%, 30%)
HSVhsv(219, 81%, 51%)
CMYKcmyk(81.4%, 52.7%, 0%, 49.4%)
CIE-LABlab(27.06, 13.54, -42.10)
CIE-LCHlch(27.06, 44.23, 287.83°)
OKLaboklab(37.58% -0.0186 -0.1212)
OKLCHoklch(37.58% 0.123 261.3)
XYZxyz(6.0064, 5.1160, 21.4355)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D81 #815C18
analogous
#187281 #183D81 #271881
triadic
#183D81 #81183D #3D8118
tetradic
#183D81 #811872 #815C18 #188127
square
#183D81 #811872 #815C18 #188127
split-complementary
#183D81 #812718 #728118
monochromatic
#050C1A #0E254D #183D81 #2255B5 #3972DA

Accessibility & contrast

On white

10.38
#183D81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#183D81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D81
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D81#FFFFFF#000000##FFFFFF
##183D811.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114583
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#004D59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183d81;
/* rgb */ color: rgb(24, 61, 129);
/* oklch */ color: oklch(37.6% 0.123 261.3);
Tailwind
colors: {
  custom: {
    50: '#6771a6',
    500: '#183d81',
    950: '#000000',
  },
}
SCSS
$custom: #183d81;
$custom-light: #6771a6;
$custom-dark: #000000;
JSON
{
  "hex": "#183d81",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 129
  },
  "hsl": {
    "h": 218.857,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.37577,
    "c": 0.12263,
    "h": 261.3
  },
  "luminance": 0.05117
}

Semantic roles & 50–950 ramp

primary
#183D81
secondary
#B58C40
accent
#AE3CEB
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183D81

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

Preview Lab → · Contrast checker → · Palette generator →

#183D81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva