#183B89#183B89

#183B89 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.137 H 263.2°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#183B89
RGBrgb(24, 59, 137)
HSLhsl(221, 70%, 32%)
HSVhsv(221, 82%, 54%)
CMYKcmyk(82.5%, 56.9%, 0%, 46.3%)
CIE-LABlab(27.09, 18.24, -47.03)
CIE-LCHlch(27.09, 50.44, 291.19°)
OKLaboklab(37.8% -0.0162 -0.1357)
OKLCHoklch(37.8% 0.137 263.2)
XYZxyz(6.4544, 5.1275, 24.3116)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183B89 #896618
analogous
#187489 #183B89 #2E1889
triadic
#183B89 #89183B #3B8918
tetradic
#183B89 #891874 #896618 #18892E
square
#183B89 #891874 #896618 #18892E
split-complementary
#183B89 #892E18 #748918
monochromatic
#060E21 #0F2555 #183B89 #2151BD #3E6FDD

Accessibility & contrast

On white

10.37
#183B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#183B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183B89
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183B89#FFFFFF#000000##FFFFFF
##183B891.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#004E5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183b89;
/* rgb */ color: rgb(24, 59, 137);
/* oklch */ color: oklch(37.8% 0.137 263.2);
Tailwind
colors: {
  custom: {
    50: '#6970ac',
    500: '#183b89',
    950: '#000000',
  },
}
SCSS
$custom: #183b89;
$custom-light: #6970ac;
$custom-dark: #000000;
JSON
{
  "hex": "#183b89",
  "rgb": {
    "r": 24,
    "g": 59,
    "b": 137
  },
  "hsl": {
    "h": 221.416,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.37798,
    "c": 0.13671,
    "h": 263.2
  },
  "luminance": 0.05128
}

Semantic roles & 50–950 ramp

primary
#183B89
secondary
#BD9640
accent
#B63BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183B89

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

Preview Lab → · Contrast checker → · Palette generator →

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