#182980#182980

#182980 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.147 H 268.2°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#182980
RGBrgb(24, 41, 128)
HSLhsl(230, 68%, 30%)
HSVhsv(230, 81%, 50%)
CMYKcmyk(81.3%, 68%, 0%, 49.8%)
CIE-LABlab(21.35, 27.16, -50.78)
CIE-LCHlch(21.35, 57.59, 298.14°)
OKLaboklab(33.27% -0.0047 -0.147)
OKLCHoklch(33.27% 0.147 268.2)
XYZxyz(5.0646, 3.3380, 20.7953)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182980 #806F18
analogous
#185D80 #182980 #3B1880
triadic
#182980 #801829 #298018
tetradic
#182980 #80185D #806F18 #18803B
square
#182980 #80185D #806F18 #18803B
split-complementary
#182980 #803B18 #5D8018
monochromatic
#05081A #0E184C #182980 #223AB4 #3953DA

Accessibility & contrast

On white

12.59
#182980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#182980 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182980
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182980#FFFFFF#000000##FFFFFF
##1829801.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #182980;
/* rgb */ color: rgb(24, 41, 128);
/* oklch */ color: oklch(33.3% 0.147 268.2);
Tailwind
colors: {
  custom: {
    50: '#6862a6',
    500: '#182980',
    950: '#000000',
  },
}
SCSS
$custom: #182980;
$custom-light: #6862a6;
$custom-dark: #000000;
JSON
{
  "hex": "#182980",
  "rgb": {
    "r": 24,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 230.192,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33271,
    "c": 0.14708,
    "h": 268.2
  },
  "luminance": 0.03339
}

Semantic roles & 50–950 ramp

primary
#182980
secondary
#B4A140
accent
#CF3DEB
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #182980

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

Preview Lab → · Contrast checker → · Palette generator →

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