#183181#183181

#183181 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.138 H 266.0°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#183181
RGBrgb(24, 49, 129)
HSLhsl(226, 69%, 30%)
HSVhsv(226, 81%, 51%)
CMYKcmyk(81.4%, 62%, 0%, 49.4%)
CIE-LABlab(23.59, 22.00, -47.74)
CIE-LCHlch(23.59, 52.57, 294.74°)
OKLaboklab(34.96% -0.0097 -0.138)
OKLCHoklch(34.96% 0.138 266)
XYZxyz(5.4361, 3.9752, 21.2454)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183181 #816818
analogous
#186681 #183181 #331881
triadic
#183181 #811831 #318118
tetradic
#183181 #811866 #816818 #188133
square
#183181 #811866 #816818 #188133
split-complementary
#183181 #813318 #668118
monochromatic
#050A1A #0E1D4D #183181 #2245B5 #3960DA

Accessibility & contrast

On white

11.70
#183181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#183181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183181
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183181#FFFFFF#000000##FFFFFF
##1831811.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#00337F
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #183181;
/* rgb */ color: rgb(24, 49, 129);
/* oklch */ color: oklch(35.0% 0.138 266.0);
Tailwind
colors: {
  custom: {
    50: '#6868a6',
    500: '#183181',
    950: '#000000',
  },
}
SCSS
$custom: #183181;
$custom-light: #6868a6;
$custom-dark: #000000;
JSON
{
  "hex": "#183181",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 225.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.34955,
    "c": 0.13836,
    "h": 266
  },
  "luminance": 0.03976
}

Semantic roles & 50–950 ramp

primary
#183181
secondary
#B59940
accent
#C23CEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #183181

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

Preview Lab → · Contrast checker → · Palette generator →

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