#183381#183381

#183381 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.136 H 265.3°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#183381
RGBrgb(24, 51, 129)
HSLhsl(225, 69%, 30%)
HSVhsv(225, 81%, 51%)
CMYKcmyk(81.4%, 60.5%, 0%, 49.4%)
CIE-LABlab(24.15, 20.59, -46.83)
CIE-LCHlch(24.15, 51.16, 293.74°)
OKLaboklab(35.37% -0.0111 -0.1353)
OKLCHoklch(35.37% 0.136 265.3)
XYZxyz(5.5216, 4.1462, 21.2739)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183381 #816618
analogous
#186881 #183381 #311881
triadic
#183381 #811833 #338118
tetradic
#183381 #811868 #816618 #188131
square
#183381 #811868 #816618 #188131
split-complementary
#183381 #813118 #688118
monochromatic
#050A1A #0E1F4D #183381 #2247B5 #3963DA

Accessibility & contrast

On white

11.48
#183381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#183381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183381
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183381#FFFFFF#000000##FFFFFF
##1833811.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E84
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #183381;
/* rgb */ color: rgb(24, 51, 129);
/* oklch */ color: oklch(35.4% 0.136 265.3);
Tailwind
colors: {
  custom: {
    50: '#686aa6',
    500: '#183381',
    950: '#000000',
  },
}
SCSS
$custom: #183381;
$custom-light: #686aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#183381",
  "rgb": {
    "r": 24,
    "g": 51,
    "b": 129
  },
  "hsl": {
    "h": 224.571,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.35373,
    "c": 0.13576,
    "h": 265.3
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#183381
secondary
#B59740
accent
#BE3CEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #183381

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

Preview Lab → · Contrast checker → · Palette generator →

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