#183C81#183C81

#183C81 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.3% C 0.124 H 261.7°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#183C81
RGBrgb(24, 60, 129)
HSLhsl(219, 69%, 30%)
HSVhsv(219, 81%, 51%)
CMYKcmyk(81.4%, 53.5%, 0%, 49.4%)
CIE-LABlab(26.76, 14.24, -42.58)
CIE-LCHlch(26.76, 44.90, 288.50°)
OKLaboklab(37.35% -0.0178 -0.1226)
OKLCHoklch(37.35% 0.124 261.7)
XYZxyz(5.9536, 5.0102, 21.4179)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C81 #815D18
analogous
#187081 #183C81 #291881
triadic
#183C81 #81183C #3C8118
tetradic
#183C81 #811870 #815D18 #188129
square
#183C81 #811870 #815D18 #188129
split-complementary
#183C81 #812918 #708118
monochromatic
#050C1A #0E244D #183C81 #2254B5 #3970DA

Accessibility & contrast

On white

10.49
#183C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#183C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C81
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C81#FFFFFF#000000##FFFFFF
##183C811.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4483
Deuteranopia (green-blind)
#003B80
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183c81;
/* rgb */ color: rgb(24, 60, 129);
/* oklch */ color: oklch(37.3% 0.124 261.7);
Tailwind
colors: {
  custom: {
    50: '#6771a6',
    500: '#183c81',
    950: '#000000',
  },
}
SCSS
$custom: #183c81;
$custom-light: #6771a6;
$custom-dark: #000000;
JSON
{
  "hex": "#183c81",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 129
  },
  "hsl": {
    "h": 219.429,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.37349,
    "c": 0.12393,
    "h": 261.7
  },
  "luminance": 0.05011
}

Semantic roles & 50–950 ramp

primary
#183C81
secondary
#B58D40
accent
#AF3CEB
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183C81

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

Preview Lab → · Contrast checker → · Palette generator →

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