#183D8C#183D8C

#183D8C is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.5% C 0.138 H 262.8°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#183D8C
RGBrgb(24, 61, 140)
HSLhsl(221, 71%, 32%)
HSVhsv(221, 83%, 55%)
CMYKcmyk(82.9%, 56.4%, 0%, 45.1%)
CIE-LABlab(27.91, 18.07, -47.56)
CIE-LCHlch(27.91, 50.88, 290.80°)
OKLaboklab(38.49% -0.0174 -0.1373)
OKLCHoklch(38.49% 0.138 262.8)
XYZxyz(6.7774, 5.4243, 25.4957)
Luminance0.0542 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D8C #8C6718
analogous
#18778C #183D8C #2D188C
triadic
#183D8C #8C183D #3D8C18
tetradic
#183D8C #8C1877 #8C6718 #188C2D
square
#183D8C #8C1877 #8C6718 #188C2D
split-complementary
#183D8C #8C2D18 #778C18
monochromatic
#060F24 #0F2658 #183D8C #2154C0 #4073DE

Accessibility & contrast

On white

10.07
#183D8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#183D8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D8C
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D8C#FFFFFF#000000##FFFFFF
##183D8C1.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#003D8A
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #183d8c;
/* rgb */ color: rgb(24, 61, 140);
/* oklch */ color: oklch(38.5% 0.138 262.8);
Tailwind
colors: {
  custom: {
    50: '#6a71ae',
    500: '#183d8c',
    950: '#000000',
  },
}
SCSS
$custom: #183d8c;
$custom-light: #6a71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#183d8c",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 140
  },
  "hsl": {
    "h": 220.862,
    "s": 70.732,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3849,
    "c": 0.13838,
    "h": 262.8
  },
  "luminance": 0.05425
}

Semantic roles & 50–950 ramp

primary
#183D8C
secondary
#BF9741
accent
#B43AED
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080710
muted
#7A7A7F

Preview Lab

Preview with #183D8C

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

Preview Lab → · Contrast checker → · Palette generator →

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