#183D72#183D72

#183D72 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.4% C 0.101 H 257.9°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#183D72
RGBrgb(24, 61, 114)
HSLhsl(215, 65%, 27%)
HSVhsv(215, 79%, 45%)
CMYKcmyk(78.9%, 46.5%, 0%, 55.3%)
CIE-LABlab(26.00, 7.33, -34.36)
CIE-LCHlch(26.00, 35.13, 282.05°)
OKLaboklab(36.42% -0.0211 -0.0984)
OKLCHoklch(36.42% 0.101 257.9)
XYZxyz(5.0816, 4.7460, 16.5646)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D72 #724D18
analogous
#186A72 #183D72 #201872
triadic
#183D72 #72183D #3D7218
tetradic
#183D72 #72186A #724D18 #187220
square
#183D72 #72186A #724D18 #187220
split-complementary
#183D72 #722018 #6A7218
monochromatic
#050E19 #0D223F #183D72 #2358A5 #3174D4

Accessibility & contrast

On white

10.77
#183D72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#183D72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D72
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D72#FFFFFF#000000##FFFFFF
##183D721.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224274
Deuteranopia (green-blind)
#103A71
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183d72;
/* rgb */ color: rgb(24, 61, 114);
/* oklch */ color: oklch(36.4% 0.101 257.9);
Tailwind
colors: {
  custom: {
    50: '#63729b',
    500: '#183d72',
    950: '#000000',
  },
}
SCSS
$custom: #183d72;
$custom-light: #63729b;
$custom-dark: #000000;
JSON
{
  "hex": "#183d72",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 114
  },
  "hsl": {
    "h": 215.333,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.36419,
    "c": 0.10067,
    "h": 257.9
  },
  "luminance": 0.04747
}

Semantic roles & 50–950 ramp

primary
#183D72
secondary
#A77C3E
accent
#A340E8
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183D72

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

Preview Lab → · Contrast checker → · Palette generator →

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