#183A7D#183A7D

#183A7D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.6% C 0.121 H 262.1°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#183A7D
RGBrgb(24, 58, 125)
HSLhsl(220, 68%, 29%)
HSVhsv(220, 81%, 49%)
CMYKcmyk(80.8%, 53.6%, 0%, 51%)
CIE-LABlab(25.86, 14.00, -41.53)
CIE-LCHlch(25.86, 43.83, 288.63°)
OKLaboklab(36.57% -0.0167 -0.1196)
OKLCHoklch(36.57% 0.121 262.1)
XYZxyz(5.5901, 4.7003, 20.0107)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A7D #7D5B18
analogous
#186D7D #183A7D #29187D
triadic
#183A7D #7D183A #3A7D18
tetradic
#183A7D #7D186D #7D5B18 #187D29
square
#183A7D #7D186D #7D5B18 #187D29
split-complementary
#183A7D #7D2918 #6D7D18
monochromatic
#050C1A #0E224A #183A7D #2252B0 #376DD9

Accessibility & contrast

On white

10.82
#183A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#183A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A7D
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A7D#FFFFFF#000000##FFFFFF
##183A7D1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D427F
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004A55
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183a7d;
/* rgb */ color: rgb(24, 58, 125);
/* oklch */ color: oklch(36.6% 0.121 262.1);
Tailwind
colors: {
  custom: {
    50: '#666fa3',
    500: '#183a7d',
    950: '#000000',
  },
}
SCSS
$custom: #183a7d;
$custom-light: #666fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#183a7d",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 125
  },
  "hsl": {
    "h": 219.802,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36567,
    "c": 0.12075,
    "h": 262.1
  },
  "luminance": 0.04701
}

Semantic roles & 50–950 ramp

primary
#183A7D
secondary
#B28B3F
accent
#B03DEB
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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