#183A89#183A89

#183A89 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.138 H 263.6°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#183A89
RGBrgb(24, 58, 137)
HSLhsl(222, 70%, 32%)
HSVhsv(222, 82%, 54%)
CMYKcmyk(82.5%, 57.7%, 0%, 46.3%)
CIE-LABlab(26.81, 18.94, -47.50)
CIE-LCHlch(26.81, 51.13, 291.74°)
OKLaboklab(37.58% -0.0155 -0.1371)
OKLCHoklch(37.58% 0.138 263.6)
XYZxyz(6.4035, 5.0257, 24.2946)
Luminance0.0503 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A89 #896718
analogous
#187389 #183A89 #2F1889
triadic
#183A89 #89183A #3A8918
tetradic
#183A89 #891873 #896718 #18892F
square
#183A89 #891873 #896718 #18892F
split-complementary
#183A89 #892F18 #738918
monochromatic
#060E21 #0F2455 #183A89 #2150BD #3E6EDD

Accessibility & contrast

On white

10.47
#183A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#183A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A89
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A89#FFFFFF#000000##FFFFFF
##183A891.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004E5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183a89;
/* rgb */ color: rgb(24, 58, 137);
/* oklch */ color: oklch(37.6% 0.138 263.6);
Tailwind
colors: {
  custom: {
    50: '#696fac',
    500: '#183a89',
    950: '#000000',
  },
}
SCSS
$custom: #183a89;
$custom-light: #696fac;
$custom-dark: #000000;
JSON
{
  "hex": "#183a89",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 137
  },
  "hsl": {
    "h": 221.947,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37581,
    "c": 0.13801,
    "h": 263.6
  },
  "luminance": 0.05026
}

Semantic roles & 50–950 ramp

primary
#183A89
secondary
#BD9740
accent
#B73BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183A89

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

Preview Lab → · Contrast checker → · Palette generator →

#183A89 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva