#182B89#182B89

#182B89 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.157 H 267.7°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#182B89
RGBrgb(24, 43, 137)
HSLhsl(230, 70%, 32%)
HSVhsv(230, 82%, 54%)
CMYKcmyk(82.5%, 68.6%, 0%, 46.3%)
CIE-LABlab(22.75, 29.31, -54.14)
CIE-LCHlch(22.75, 61.56, 298.43°)
OKLaboklab(34.57% -0.0063 -0.1568)
OKLCHoklch(34.57% 0.157 267.7)
XYZxyz(5.7544, 3.7274, 24.0782)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182B89 #897618
analogous
#186489 #182B89 #3E1889
triadic
#182B89 #89182B #2B8918
tetradic
#182B89 #891864 #897618 #18893E
square
#182B89 #891864 #897618 #18893E
split-complementary
#182B89 #893E18 #648918
monochromatic
#060A21 #0F1B55 #182B89 #213BBD #3E59DD

Accessibility & contrast

On white

12.03
#182B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#182B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182B89
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182B89#FFFFFF#000000##FFFFFF
##182B891.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#004556
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #182b89;
/* rgb */ color: rgb(24, 43, 137);
/* oklch */ color: oklch(34.6% 0.157 267.7);
Tailwind
colors: {
  custom: {
    50: '#6b64ac',
    500: '#182b89',
    950: '#000000',
  },
}
SCSS
$custom: #182b89;
$custom-light: #6b64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#182b89",
  "rgb": {
    "r": 24,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 229.912,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34565,
    "c": 0.15692,
    "h": 267.7
  },
  "luminance": 0.03728
}

Semantic roles & 50–950 ramp

primary
#182B89
secondary
#BDA840
accent
#CF3BED
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #182B89

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

Preview Lab → · Contrast checker → · Palette generator →

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