#183161#183161

#183161 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.2% C 0.091 H 261.9°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#183161
RGBrgb(24, 49, 97)
HSLhsl(219, 60%, 24%)
HSVhsv(219, 75%, 38%)
CMYKcmyk(75.3%, 49.5%, 0%, 62%)
CIE-LABlab(21.03, 8.79, -31.35)
CIE-LCHlch(21.03, 32.56, 285.66°)
OKLaboklab(32.21% -0.0127 -0.0898)
OKLCHoklch(32.21% 0.091 261.9)
XYZxyz(3.6319, 3.2535, 11.7435)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183161 #614818
analogous
#185561 #183161 #231861
triadic
#183161 #611831 #316118
tetradic
#183161 #611855 #614818 #186123
square
#183161 #611855 #614818 #186123
split-complementary
#183161 #612318 #556118
monochromatic
#060C19 #0C1830 #183161 #244A92 #3063C3

Accessibility & contrast

On white

12.72
#183161 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#183161 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183161
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183161#FFFFFF#000000##FFFFFF
##1831611.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183663
Deuteranopia (green-blind)
#082F60
Tritanopia (blue-blind)
#003C44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #183161;
/* rgb */ color: rgb(24, 49, 97);
/* oklch */ color: oklch(32.2% 0.091 261.9);
Tailwind
colors: {
  custom: {
    50: '#5f688e',
    500: '#183161',
    950: '#000000',
  },
}
SCSS
$custom: #183161;
$custom-light: #5f688e;
$custom-dark: #000000;
JSON
{
  "hex": "#183161",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 97
  },
  "hsl": {
    "h": 219.452,
    "s": 60.331,
    "l": 23.725
  },
  "oklch": {
    "l": 0.32214,
    "c": 0.09071,
    "h": 261.9
  },
  "luminance": 0.03254
}

Semantic roles & 50–950 ramp

primary
#183161
secondary
#97793D
accent
#AD44E3
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #183161

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

Preview Lab → · Contrast checker → · Palette generator →

#183161 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva