#183D7D#183D7D

#183D7D is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.3% C 0.117 H 260.6°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#183D7D
RGBrgb(24, 61, 125)
HSLhsl(218, 68%, 29%)
HSVhsv(218, 81%, 49%)
CMYKcmyk(80.8%, 51.2%, 0%, 51%)
CIE-LABlab(26.77, 11.89, -40.07)
CIE-LCHlch(26.77, 41.80, 286.53°)
OKLaboklab(37.26% -0.0192 -0.1152)
OKLCHoklch(37.26% 0.117 260.6)
XYZxyz(5.7458, 5.0117, 20.0626)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D7D #7D5818
analogous
#18707D #183D7D #26187D
triadic
#183D7D #7D183D #3D7D18
tetradic
#183D7D #7D1870 #7D5818 #187D26
square
#183D7D #7D1870 #7D5818 #187D26
split-complementary
#183D7D #7D2618 #707D18
monochromatic
#050D1A #0E244A #183D7D #2256B0 #3772D9

Accessibility & contrast

On white

10.49
#183D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#183D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D7D
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D7D#FFFFFF#000000##FFFFFF
##183D7D1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17447F
Deuteranopia (green-blind)
#003B7C
Tritanopia (blue-blind)
#004C57
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183d7d;
/* rgb */ color: rgb(24, 61, 125);
/* oklch */ color: oklch(37.3% 0.117 260.6);
Tailwind
colors: {
  custom: {
    50: '#6671a3',
    500: '#183d7d',
    950: '#000000',
  },
}
SCSS
$custom: #183d7d;
$custom-light: #6671a3;
$custom-dark: #000000;
JSON
{
  "hex": "#183d7d",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 125
  },
  "hsl": {
    "h": 218.02,
    "s": 67.785,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37258,
    "c": 0.11681,
    "h": 260.6
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

primary
#183D7D
secondary
#B2883F
accent
#AB3DEB
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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