#182E89#182E89

#182E89 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.153 H 267.0°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#182E89
RGBrgb(24, 46, 137)
HSLhsl(228, 70%, 32%)
HSVhsv(228, 82%, 54%)
CMYKcmyk(82.5%, 66.4%, 0%, 46.3%)
CIE-LABlab(23.52, 27.28, -52.87)
CIE-LCHlch(23.52, 59.49, 297.29°)
OKLaboklab(35.13% -0.0079 -0.1531)
OKLCHoklch(35.13% 0.153 267)
XYZxyz(5.8675, 3.9536, 24.1159)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182E89 #897318
analogous
#186789 #182E89 #3B1889
triadic
#182E89 #89182E #2E8918
tetradic
#182E89 #891867 #897318 #18893B
square
#182E89 #891867 #897318 #18893B
split-complementary
#182E89 #893B18 #678918
monochromatic
#060B21 #0F1D55 #182E89 #213FBD #3E5DDD

Accessibility & contrast

On white

11.73
#182E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#182E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182E89
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182E89#FFFFFF#000000##FFFFFF
##182E891.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #182e89;
/* rgb */ color: rgb(24, 46, 137);
/* oklch */ color: oklch(35.1% 0.153 267.0);
Tailwind
colors: {
  custom: {
    50: '#6a66ac',
    500: '#182e89',
    950: '#000000',
  },
}
SCSS
$custom: #182e89;
$custom-light: #6a66ac;
$custom-dark: #000000;
JSON
{
  "hex": "#182e89",
  "rgb": {
    "r": 24,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 228.319,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35129,
    "c": 0.15329,
    "h": 267
  },
  "luminance": 0.03954
}

Semantic roles & 50–950 ramp

primary
#182E89
secondary
#BDA440
accent
#CA3BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #182E89

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

Preview Lab → · Contrast checker → · Palette generator →

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