#182F89#182F89

#182F89 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.152 H 266.8°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#182F89
RGBrgb(24, 47, 137)
HSLhsl(228, 70%, 32%)
HSVhsv(228, 82%, 54%)
CMYKcmyk(82.5%, 65.7%, 0%, 46.3%)
CIE-LABlab(23.78, 26.59, -52.44)
CIE-LCHlch(23.78, 58.80, 296.89°)
OKLaboklab(35.32% -0.0085 -0.1518)
OKLCHoklch(35.32% 0.152 266.8)
XYZxyz(5.9070, 4.0327, 24.1291)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182F89 #897218
analogous
#186889 #182F89 #3A1889
triadic
#182F89 #89182F #2F8918
tetradic
#182F89 #891868 #897218 #18893A
square
#182F89 #891868 #897218 #18893A
split-complementary
#182F89 #893A18 #688918
monochromatic
#060B21 #0F1D55 #182F89 #2141BD #3E5FDD

Accessibility & contrast

On white

11.62
#182F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#182F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182F89
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182F89#FFFFFF#000000##FFFFFF
##182F891.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003387
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #182f89;
/* rgb */ color: rgb(24, 47, 137);
/* oklch */ color: oklch(35.3% 0.152 266.8);
Tailwind
colors: {
  custom: {
    50: '#6a67ac',
    500: '#182f89',
    950: '#000000',
  },
}
SCSS
$custom: #182f89;
$custom-light: #6a67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#182f89",
  "rgb": {
    "r": 24,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 227.788,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35321,
    "c": 0.15205,
    "h": 266.8
  },
  "luminance": 0.04033
}

Semantic roles & 50–950 ramp

primary
#182F89
secondary
#BDA340
accent
#C93BED
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#080610
muted
#7A7A7F

Preview Lab

Preview with #182F89

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

Preview Lab → · Contrast checker → · Palette generator →

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