#182C80#182C80

#182C80 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.9% C 0.143 H 267.4°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#182C80
RGBrgb(24, 44, 128)
HSLhsl(228, 68%, 30%)
HSVhsv(228, 81%, 50%)
CMYKcmyk(81.3%, 65.6%, 0%, 49.8%)
CIE-LABlab(22.14, 25.09, -49.49)
CIE-LCHlch(22.14, 55.49, 296.89°)
OKLaboklab(33.85% -0.0065 -0.1432)
OKLCHoklch(33.85% 0.143 267.4)
XYZxyz(5.1723, 3.5535, 20.8312)
Luminance0.0355 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182C80 #806C18
analogous
#186080 #182C80 #381880
triadic
#182C80 #80182C #2C8018
tetradic
#182C80 #801860 #806C18 #188038
square
#182C80 #801860 #806C18 #188038
split-complementary
#182C80 #803818 #608018
monochromatic
#05091A #0E1A4C #182C80 #223EB4 #3958DA

Accessibility & contrast

On white

12.27
#182C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#182C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182C80
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182C80#FFFFFF#000000##FFFFFF
##182C801.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #182c80;
/* rgb */ color: rgb(24, 44, 128);
/* oklch */ color: oklch(33.9% 0.143 267.4);
Tailwind
colors: {
  custom: {
    50: '#6865a6',
    500: '#182c80',
    950: '#000000',
  },
}
SCSS
$custom: #182c80;
$custom-light: #6865a6;
$custom-dark: #000000;
JSON
{
  "hex": "#182c80",
  "rgb": {
    "r": 24,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 228.462,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.3385,
    "c": 0.14335,
    "h": 267.4
  },
  "luminance": 0.03554
}

Semantic roles & 50–950 ramp

primary
#182C80
secondary
#B49E40
accent
#CA3DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #182C80

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

Preview Lab → · Contrast checker → · Palette generator →

#182C80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva