#183D8B#183D8B

#183D8B is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.4% C 0.137 H 262.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#183D8B
RGBrgb(24, 61, 139)
HSLhsl(221, 71%, 32%)
HSVhsv(221, 83%, 55%)
CMYKcmyk(82.7%, 56.1%, 0%, 45.5%)
CIE-LABlab(27.83, 17.66, -47.07)
CIE-LCHlch(27.83, 50.28, 290.56°)
OKLaboklab(38.41% -0.0175 -0.1358)
OKLCHoklch(38.41% 0.137 262.7)
XYZxyz(6.7040, 5.3950, 25.1091)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D8B #8B6618
analogous
#18778B #183D8B #2D188B
triadic
#183D8B #8B183D #3D8B18
tetradic
#183D8B #8B1877 #8B6618 #188B2D
square
#183D8B #8B1877 #8B6618 #188B2D
split-complementary
#183D8B #8B2D18 #778B18
monochromatic
#060F23 #0F2657 #183D8B #2154BF #3F72DE

Accessibility & contrast

On white

10.10
#183D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#183D8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D8B
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D8B#FFFFFF#000000##FFFFFF
##183D8B1.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#003D89
Tritanopia (blue-blind)
#00505E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #183d8b;
/* rgb */ color: rgb(24, 61, 139);
/* oklch */ color: oklch(38.4% 0.137 262.7);
Tailwind
colors: {
  custom: {
    50: '#6a71ae',
    500: '#183d8b',
    950: '#000000',
  },
}
SCSS
$custom: #183d8b;
$custom-light: #6a71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#183d8b",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 139
  },
  "hsl": {
    "h": 220.696,
    "s": 70.552,
    "l": 31.961
  },
  "oklch": {
    "l": 0.38405,
    "c": 0.13696,
    "h": 262.7
  },
  "luminance": 0.05396
}

Semantic roles & 50–950 ramp

primary
#183D8B
secondary
#BE9640
accent
#B43AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #183D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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