#183E81#183E81

#183E81 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 37.8% C 0.121 H 260.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#183E81
RGBrgb(24, 62, 129)
HSLhsl(218, 69%, 30%)
HSVhsv(218, 81%, 51%)
CMYKcmyk(81.4%, 51.9%, 0%, 49.4%)
CIE-LABlab(27.36, 12.84, -41.62)
CIE-LCHlch(27.36, 43.55, 287.15°)
OKLaboklab(37.81% -0.0194 -0.1198)
OKLCHoklch(37.81% 0.121 260.8)
XYZxyz(6.0603, 5.2237, 21.4535)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E81 #815B18
analogous
#187281 #183E81 #271881
triadic
#183E81 #81183E #3E8118
tetradic
#183E81 #811872 #815B18 #188127
square
#183E81 #811872 #815B18 #188127
split-complementary
#183E81 #812718 #728118
monochromatic
#050C1A #0E254D #183E81 #2257B5 #3973DA

Accessibility & contrast

On white

10.27
#183E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#183E81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E81
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E81#FFFFFF#000000##FFFFFF
##183E811.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144683
Deuteranopia (green-blind)
#003C80
Tritanopia (blue-blind)
#004E59
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183e81;
/* rgb */ color: rgb(24, 62, 129);
/* oklch */ color: oklch(37.8% 0.121 260.8);
Tailwind
colors: {
  custom: {
    50: '#6772a6',
    500: '#183e81',
    950: '#000000',
  },
}
SCSS
$custom: #183e81;
$custom-light: #6772a6;
$custom-dark: #000000;
JSON
{
  "hex": "#183e81",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 129
  },
  "hsl": {
    "h": 218.286,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.37806,
    "c": 0.12132,
    "h": 260.8
  },
  "luminance": 0.05224
}

Semantic roles & 50–950 ramp

primary
#183E81
secondary
#B58B40
accent
#AC3CEB
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183E81

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

Preview Lab → · Contrast checker → · Palette generator →

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