#182E80#182E80

#182E80 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.141 H 266.8°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#182E80
RGBrgb(24, 46, 128)
HSLhsl(227, 68%, 30%)
HSVhsv(227, 81%, 50%)
CMYKcmyk(81.3%, 64.1%, 0%, 49.8%)
CIE-LABlab(22.68, 23.70, -48.61)
CIE-LCHlch(22.68, 54.08, 295.99°)
OKLaboklab(34.25% -0.0077 -0.1406)
OKLCHoklch(34.25% 0.141 266.8)
XYZxyz(5.2486, 3.7061, 20.8566)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E80 #806A18
analogous
#186280 #182E80 #361880
triadic
#182E80 #80182E #2E8018
tetradic
#182E80 #801862 #806A18 #188036
square
#182E80 #801862 #806A18 #188036
split-complementary
#182E80 #803618 #628018
monochromatic
#05091A #0E1B4C #182E80 #2241B4 #395BDA

Accessibility & contrast

On white

12.06
#182E80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#182E80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E80
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E80#FFFFFF#000000##FFFFFF
##182E801.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.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: #182e80;
/* rgb */ color: rgb(24, 46, 128);
/* oklch */ color: oklch(34.2% 0.141 266.8);
Tailwind
colors: {
  custom: {
    50: '#6866a6',
    500: '#182e80',
    950: '#000000',
  },
}
SCSS
$custom: #182e80;
$custom-light: #6866a6;
$custom-dark: #000000;
JSON
{
  "hex": "#182e80",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 128
  },
  "hsl": {
    "h": 227.308,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34248,
    "c": 0.1408,
    "h": 266.8
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#182E80
secondary
#B49C40
accent
#C63DEB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #182E80

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

Preview Lab → · Contrast checker → · Palette generator →

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