#183D7C#183D7C

#183D7C is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.2% C 0.115 H 260.4°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#183D7C
RGBrgb(24, 61, 124)
HSLhsl(218, 68%, 29%)
HSVhsv(218, 81%, 49%)
CMYKcmyk(80.6%, 50.8%, 0%, 51.4%)
CIE-LABlab(26.70, 11.47, -39.56)
CIE-LCHlch(26.70, 41.19, 286.18°)
OKLaboklab(37.18% -0.0193 -0.1137)
OKLCHoklch(37.18% 0.115 260.4)
XYZxyz(5.6822, 4.9863, 19.7278)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D7C #7C5718
analogous
#186F7C #183D7C #25187C
triadic
#183D7C #7C183D #3D7C18
tetradic
#183D7C #7C186F #7C5718 #187C25
square
#183D7C #7C186F #7C5718 #187C25
split-complementary
#183D7C #7C2518 #6F7C18
monochromatic
#050D1A #0E2449 #183D7C #2256AF #3672D8

Accessibility & contrast

On white

10.51
#183D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183D7C
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D7C#FFFFFF#000000##FFFFFF
##183D7C1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18447E
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183d7c;
/* rgb */ color: rgb(24, 61, 124);
/* oklch */ color: oklch(37.2% 0.115 260.4);
Tailwind
colors: {
  custom: {
    50: '#6671a2',
    500: '#183d7c',
    950: '#000000',
  },
}
SCSS
$custom: #183d7c;
$custom-light: #6671a2;
$custom-dark: #000000;
JSON
{
  "hex": "#183d7c",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 124
  },
  "hsl": {
    "h": 217.8,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.37179,
    "c": 0.11536,
    "h": 260.4
  },
  "luminance": 0.04987
}

Semantic roles & 50–950 ramp

primary
#183D7C
secondary
#B1873F
accent
#AA3DEA
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #183D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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