#182A90#182A90

#182A90 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.167 H 267.8°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#182A90
RGBrgb(24, 42, 144)
HSLhsl(231, 71%, 33%)
HSVhsv(231, 83%, 56%)
CMYKcmyk(83.3%, 70.8%, 0%, 43.5%)
CIE-LABlab(23.21, 32.65, -57.73)
CIE-LCHlch(23.21, 66.32, 299.49°)
OKLaboklab(35.12% -0.0064 -0.1673)
OKLCHoklch(35.12% 0.167 267.8)
XYZxyz(6.2369, 3.8630, 26.7971)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182A90 #907E18
analogous
#186690 #182A90 #421890
triadic
#182A90 #90182A #2A9018
tetradic
#182A90 #901866 #907E18 #189042
square
#182A90 #901866 #907E18 #189042
split-complementary
#182A90 #904218 #669018
monochromatic
#070B27 #0F1B5C #182A90 #2139C4 #435AE0

Accessibility & contrast

On white

11.85
#182A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#182A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182A90
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182A90#FFFFFF#000000##FFFFFF
##182A901.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004659
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #182a90;
/* rgb */ color: rgb(24, 42, 144);
/* oklch */ color: oklch(35.1% 0.167 267.8);
Tailwind
colors: {
  custom: {
    50: '#6d64b2',
    500: '#182a90',
    950: '#000000',
  },
}
SCSS
$custom: #182a90;
$custom-light: #6d64b2;
$custom-dark: #000000;
JSON
{
  "hex": "#182a90",
  "rgb": {
    "r": 24,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 231,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35118,
    "c": 0.16738,
    "h": 267.8
  },
  "luminance": 0.03864
}

Semantic roles & 50–950 ramp

primary
#182A90
secondary
#C0AE43
accent
#D33AEE
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#080511
muted
#7B7980

Preview Lab

Preview with #182A90

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

Preview Lab → · Contrast checker → · Palette generator →

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