#182D80#182D80

#182D80 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.142 H 267.1°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#182D80
RGBrgb(24, 45, 128)
HSLhsl(228, 68%, 30%)
HSVhsv(228, 81%, 50%)
CMYKcmyk(81.3%, 64.8%, 0%, 49.8%)
CIE-LABlab(22.40, 24.40, -49.05)
CIE-LCHlch(22.40, 54.78, 296.44°)
OKLaboklab(34.05% -0.0071 -0.1419)
OKLCHoklch(34.05% 0.142 267.1)
XYZxyz(5.2100, 3.6289, 20.8437)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D80 #806B18
analogous
#186180 #182D80 #371880
triadic
#182D80 #80182D #2D8018
tetradic
#182D80 #801861 #806B18 #188037
square
#182D80 #801861 #806B18 #188037
split-complementary
#182D80 #803718 #618018
monochromatic
#05091A #0E1B4C #182D80 #223FB4 #3959DA

Accessibility & contrast

On white

12.17
#182D80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#182D80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D80
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D80#FFFFFF#000000##FFFFFF
##182D801.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00317E
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #182d80;
/* rgb */ color: rgb(24, 45, 128);
/* oklch */ color: oklch(34.0% 0.142 267.1);
Tailwind
colors: {
  custom: {
    50: '#6865a6',
    500: '#182d80',
    950: '#000000',
  },
}
SCSS
$custom: #182d80;
$custom-light: #6865a6;
$custom-dark: #000000;
JSON
{
  "hex": "#182d80",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 128
  },
  "hsl": {
    "h": 227.885,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34048,
    "c": 0.14208,
    "h": 267.1
  },
  "luminance": 0.03629
}

Semantic roles & 50–950 ramp

primary
#182D80
secondary
#B49D40
accent
#C83DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #182D80

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

Preview Lab → · Contrast checker → · Palette generator →

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