#182B80#182B80

#182B80 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.145 H 267.7°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#182B80
RGBrgb(24, 43, 128)
HSLhsl(229, 68%, 30%)
HSVhsv(229, 81%, 50%)
CMYKcmyk(81.3%, 66.4%, 0%, 49.8%)
CIE-LABlab(21.87, 25.78, -49.92)
CIE-LCHlch(21.87, 56.19, 297.32°)
OKLaboklab(33.65% -0.0059 -0.1445)
OKLCHoklch(33.65% 0.145 267.7)
XYZxyz(5.1355, 3.4799, 20.8189)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B80 #806D18
analogous
#185F80 #182B80 #391880
triadic
#182B80 #80182B #2B8018
tetradic
#182B80 #80185F #806D18 #188039
square
#182B80 #80185F #806D18 #188039
split-complementary
#182B80 #803918 #5F8018
monochromatic
#05091A #0E1A4C #182B80 #223CB4 #3956DA

Accessibility & contrast

On white

12.38
#182B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#182B80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B80
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B80#FFFFFF#000000##FFFFFF
##182B801.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003983
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #182b80;
/* rgb */ color: rgb(24, 43, 128);
/* oklch */ color: oklch(33.7% 0.145 267.7);
Tailwind
colors: {
  custom: {
    50: '#6864a6',
    500: '#182b80',
    950: '#000000',
  },
}
SCSS
$custom: #182b80;
$custom-light: #6864a6;
$custom-dark: #000000;
JSON
{
  "hex": "#182b80",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 128
  },
  "hsl": {
    "h": 229.038,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33654,
    "c": 0.1446,
    "h": 267.7
  },
  "luminance": 0.0348
}

Semantic roles & 50–950 ramp

primary
#182B80
secondary
#B49F40
accent
#CB3DEB
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #182B80

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

Preview Lab → · Contrast checker → · Palette generator →

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