#182D90#182D90

#182D90 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.164 H 267.3°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#182D90
RGBrgb(24, 45, 144)
HSLhsl(230, 71%, 33%)
HSVhsv(230, 83%, 56%)
CMYKcmyk(83.3%, 68.7%, 0%, 43.5%)
CIE-LABlab(23.95, 30.67, -56.52)
CIE-LCHlch(23.95, 64.31, 298.49°)
OKLaboklab(35.65% -0.0078 -0.1637)
OKLCHoklch(35.65% 0.164 267.3)
XYZxyz(6.3474, 4.0838, 26.8339)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182D90 #907B18
analogous
#186990 #182D90 #3F1890
triadic
#182D90 #90182D #2D9018
tetradic
#182D90 #901869 #907B18 #18903F
square
#182D90 #901869 #907B18 #18903F
split-complementary
#182D90 #903F18 #699018
monochromatic
#070C27 #0F1D5C #182D90 #213DC4 #435EE0

Accessibility & contrast

On white

11.56
#182D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#182D90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182D90
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182D90#FFFFFF#000000##FFFFFF
##182D901.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #182d90;
/* rgb */ color: rgb(24, 45, 144);
/* oklch */ color: oklch(35.7% 0.164 267.3);
Tailwind
colors: {
  custom: {
    50: '#6c66b2',
    500: '#182d90',
    950: '#000000',
  },
}
SCSS
$custom: #182d90;
$custom-light: #6c66b2;
$custom-dark: #000000;
JSON
{
  "hex": "#182d90",
  "rgb": {
    "r": 24,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 229.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35651,
    "c": 0.16391,
    "h": 267.3
  },
  "luminance": 0.04085
}

Semantic roles & 50–950 ramp

primary
#182D90
secondary
#C0AB43
accent
#CF3AEE
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80

Preview Lab

Preview with #182D90

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

Preview Lab → · Contrast checker → · Palette generator →

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