#183D8A#183D8A

#183D8A is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.3% C 0.136 H 262.6°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#183D8A
RGBrgb(24, 61, 138)
HSLhsl(221, 70%, 32%)
HSVhsv(221, 83%, 54%)
CMYKcmyk(82.6%, 55.8%, 0%, 45.9%)
CIE-LABlab(27.75, 17.25, -46.58)
CIE-LCHlch(27.75, 49.67, 290.32°)
OKLaboklab(38.32% -0.0176 -0.1344)
OKLCHoklch(38.32% 0.136 262.6)
XYZxyz(6.6312, 5.3659, 24.7260)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D8A #8A6518
analogous
#18768A #183D8A #2C188A
triadic
#183D8A #8A183D #3D8A18
tetradic
#183D8A #8A1876 #8A6518 #188A2C
square
#183D8A #8A1876 #8A6518 #188A2C
split-complementary
#183D8A #8A2C18 #768A18
monochromatic
#060F22 #0F2656 #183D8A #2154BE #3F72DE

Accessibility & contrast

On white

10.13
#183D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183D8A
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D8A#FFFFFF#000000##FFFFFF
##183D8A1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #183d8a;
/* rgb */ color: rgb(24, 61, 138);
/* oklch */ color: oklch(38.3% 0.136 262.6);
Tailwind
colors: {
  custom: {
    50: '#6971ad',
    500: '#183d8a',
    950: '#000000',
  },
}
SCSS
$custom: #183d8a;
$custom-light: #6971ad;
$custom-dark: #000000;
JSON
{
  "hex": "#183d8a",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 138
  },
  "hsl": {
    "h": 220.526,
    "s": 70.37,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3832,
    "c": 0.13553,
    "h": 262.6
  },
  "luminance": 0.05367
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #183D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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