#183180#183180

#183180 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.137 H 265.9°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#183180
RGBrgb(24, 49, 128)
HSLhsl(226, 68%, 30%)
HSVhsv(226, 81%, 50%)
CMYKcmyk(81.3%, 61.7%, 0%, 49.8%)
CIE-LABlab(23.50, 21.59, -47.26)
CIE-LCHlch(23.50, 51.96, 294.56°)
OKLaboklab(34.86% -0.0097 -0.1366)
OKLCHoklch(34.86% 0.137 265.9)
XYZxyz(5.3699, 3.9487, 20.8971)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183180 #806718
analogous
#186580 #183180 #331880
triadic
#183180 #801831 #318018
tetradic
#183180 #801865 #806718 #188033
square
#183180 #801865 #806718 #188033
split-complementary
#183180 #803318 #658018
monochromatic
#050A1A #0E1D4C #183180 #2245B4 #395FDA

Accessibility & contrast

On white

11.73
#183180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#183180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183180
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183180#FFFFFF#000000##FFFFFF
##1831801.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #183180;
/* rgb */ color: rgb(24, 49, 128);
/* oklch */ color: oklch(34.9% 0.137 265.9);
Tailwind
colors: {
  custom: {
    50: '#6868a6',
    500: '#183180',
    950: '#000000',
  },
}
SCSS
$custom: #183180;
$custom-light: #6868a6;
$custom-dark: #000000;
JSON
{
  "hex": "#183180",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 128
  },
  "hsl": {
    "h": 225.577,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34862,
    "c": 0.13694,
    "h": 265.9
  },
  "luminance": 0.03949
}

Semantic roles & 50–950 ramp

primary
#183180
secondary
#B49840
accent
#C13DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #183180

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

Preview Lab → · Contrast checker → · Palette generator →

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