#183D7F#183D7F

#183D7F is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.120 H 260.9°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#183D7F
RGBrgb(24, 61, 127)
HSLhsl(218, 68%, 30%)
HSVhsv(218, 81%, 50%)
CMYKcmyk(81.1%, 52%, 0%, 50.2%)
CIE-LABlab(26.91, 12.72, -41.09)
CIE-LCHlch(26.91, 43.01, 287.20°)
OKLaboklab(37.42% -0.0189 -0.1182)
OKLCHoklch(37.42% 0.12 260.9)
XYZxyz(5.8748, 5.0633, 20.7422)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D7F #7F5A18
analogous
#18707F #183D7F #27187F
triadic
#183D7F #7F183D #3D7F18
tetradic
#183D7F #7F1870 #7F5A18 #187F27
square
#183D7F #7F1870 #7F5A18 #187F27
split-complementary
#183D7F #7F2718 #707F18
monochromatic
#050C1A #0E244C #183D7F #2256B2 #3872D9

Accessibility & contrast

On white

10.43
#183D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#183D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D7F
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D7F#FFFFFF#000000##FFFFFF
##183D7F1.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144581
Deuteranopia (green-blind)
#003B7E
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #183d7f;
/* rgb */ color: rgb(24, 61, 127);
/* oklch */ color: oklch(37.4% 0.120 260.9);
Tailwind
colors: {
  custom: {
    50: '#6671a5',
    500: '#183d7f',
    950: '#000000',
  },
}
SCSS
$custom: #183d7f;
$custom-light: #6671a5;
$custom-dark: #000000;
JSON
{
  "hex": "#183d7f",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 127
  },
  "hsl": {
    "h": 218.447,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37417,
    "c": 0.11973,
    "h": 260.9
  },
  "luminance": 0.05064
}

Semantic roles & 50–950 ramp

primary
#183D7F
secondary
#B38A3F
accent
#AC3DEB
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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