#183D89#183D89

#183D89 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.2% C 0.134 H 262.4°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#183D89
RGBrgb(24, 61, 137)
HSLhsl(220, 70%, 32%)
HSVhsv(220, 82%, 54%)
CMYKcmyk(82.5%, 55.5%, 0%, 46.3%)
CIE-LABlab(27.67, 16.84, -46.09)
CIE-LCHlch(27.67, 49.07, 290.07°)
OKLaboklab(38.24% -0.0177 -0.133)
OKLCHoklch(38.24% 0.134 262.4)
XYZxyz(6.5592, 5.3370, 24.3465)
Luminance0.0534 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D89 #896418
analogous
#187689 #183D89 #2C1889
triadic
#183D89 #89183D #3D8918
tetradic
#183D89 #891876 #896418 #18892C
square
#183D89 #891876 #896418 #18892C
split-complementary
#183D89 #892C18 #768918
monochromatic
#060F21 #0F2655 #183D89 #2154BD #3E72DD

Accessibility & contrast

On white

10.16
#183D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#183D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D89
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D89#FFFFFF#000000##FFFFFF
##183D891.0010.162.0710.16
#FFFFFF10.161.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#003C88
Tritanopia (blue-blind)
#00505D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #183d89;
/* rgb */ color: rgb(24, 61, 137);
/* oklch */ color: oklch(38.2% 0.134 262.4);
Tailwind
colors: {
  custom: {
    50: '#6971ac',
    500: '#183d89',
    950: '#000000',
  },
}
SCSS
$custom: #183d89;
$custom-light: #6971ac;
$custom-dark: #000000;
JSON
{
  "hex": "#183d89",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 137
  },
  "hsl": {
    "h": 220.354,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38236,
    "c": 0.13412,
    "h": 262.4
  },
  "luminance": 0.05338
}

Semantic roles & 50–950 ramp

primary
#183D89
secondary
#BD9440
accent
#B33BED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183D89

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

Preview Lab → · Contrast checker → · Palette generator →

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