#183281#183281

#183281 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.2% C 0.137 H 265.7°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#183281
RGBrgb(24, 50, 129)
HSLhsl(225, 69%, 30%)
HSVhsv(225, 81%, 51%)
CMYKcmyk(81.4%, 61.2%, 0%, 49.4%)
CIE-LABlab(23.87, 21.30, -47.29)
CIE-LCHlch(23.87, 51.86, 294.24°)
OKLaboklab(35.16% -0.0104 -0.1367)
OKLCHoklch(35.16% 0.137 265.7)
XYZxyz(5.4783, 4.0597, 21.2595)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183281 #816718
analogous
#186681 #183281 #331881
triadic
#183281 #811832 #328118
tetradic
#183281 #811866 #816718 #188133
square
#183281 #811866 #816718 #188133
split-complementary
#183281 #813318 #668118
monochromatic
#050A1A #0E1E4D #183281 #2246B5 #3961DA

Accessibility & contrast

On white

11.59
#183281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#183281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183281
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183281#FFFFFF#000000##FFFFFF
##1832811.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183281;
/* rgb */ color: rgb(24, 50, 129);
/* oklch */ color: oklch(35.2% 0.137 265.7);
Tailwind
colors: {
  custom: {
    50: '#6869a6',
    500: '#183281',
    950: '#000000',
  },
}
SCSS
$custom: #183281;
$custom-light: #6869a6;
$custom-dark: #000000;
JSON
{
  "hex": "#183281",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 225.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.35163,
    "c": 0.13706,
    "h": 265.7
  },
  "luminance": 0.0406
}

Semantic roles & 50–950 ramp

primary
#183281
secondary
#B59840
accent
#C03CEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #183281

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

Preview Lab → · Contrast checker → · Palette generator →

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