#183E7D#183E7D

#183E7D is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.5% C 0.116 H 260.0°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#183E7D
RGBrgb(24, 62, 125)
HSLhsl(217, 68%, 29%)
HSVhsv(217, 81%, 49%)
CMYKcmyk(80.8%, 50.4%, 0%, 51%)
CIE-LABlab(27.07, 11.19, -39.58)
CIE-LCHlch(27.07, 41.13, 285.78°)
OKLaboklab(37.49% -0.02 -0.1138)
OKLCHoklch(37.49% 0.116 260)
XYZxyz(5.7996, 5.1194, 20.0805)
Luminance0.0512 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183E7D #7D5718
analogous
#18717D #183E7D #25187D
triadic
#183E7D #7D183E #3E7D18
tetradic
#183E7D #7D1871 #7D5718 #187D25
square
#183E7D #7D1871 #7D5718 #187D25
split-complementary
#183E7D #7D2518 #717D18
monochromatic
#050D1A #0E254A #183E7D #2257B0 #3774D9

Accessibility & contrast

On white

10.38
#183E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#183E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183E7D
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183E7D#FFFFFF#000000##FFFFFF
##183E7D1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A457F
Deuteranopia (green-blind)
#003C7C
Tritanopia (blue-blind)
#004D57
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183e7d;
/* rgb */ color: rgb(24, 62, 125);
/* oklch */ color: oklch(37.5% 0.116 260.0);
Tailwind
colors: {
  custom: {
    50: '#6672a3',
    500: '#183e7d',
    950: '#000000',
  },
}
SCSS
$custom: #183e7d;
$custom-light: #6672a3;
$custom-dark: #000000;
JSON
{
  "hex": "#183e7d",
  "rgb": {
    "r": 24,
    "g": 62,
    "b": 125
  },
  "hsl": {
    "h": 217.426,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37491,
    "c": 0.11552,
    "h": 260
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#183E7D
secondary
#B2873F
accent
#A93DEB
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #183E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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