#183D7B#183D7B

#183D7B is a dark, moderate blue. Relative luminance 0.050; OKLCH L 37.1% C 0.114 H 260.2°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#183D7B
RGBrgb(24, 61, 123)
HSLhsl(218, 67%, 29%)
HSVhsv(218, 80%, 48%)
CMYKcmyk(80.5%, 50.4%, 0%, 51.8%)
CIE-LABlab(26.62, 11.06, -39.05)
CIE-LCHlch(26.62, 40.58, 285.82°)
OKLaboklab(37.1% -0.0195 -0.1122)
OKLCHoklch(37.1% 0.114 260.2)
XYZxyz(5.6193, 4.9611, 19.3965)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D7B #7B5618
analogous
#186F7B #183D7B #25187B
triadic
#183D7B #7B183D #3D7B18
tetradic
#183D7B #7B186F #7B5618 #187B25
square
#183D7B #7B186F #7B5618 #187B25
split-complementary
#183D7B #7B2518 #6F7B18
monochromatic
#050D1A #0E2448 #183D7B #2256AE #3672D8

Accessibility & contrast

On white

10.54
#183D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#183D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D7B
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D7B#FFFFFF#000000##FFFFFF
##183D7B1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447D
Deuteranopia (green-blind)
#003B7A
Tritanopia (blue-blind)
#004C56
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183d7b;
/* rgb */ color: rgb(24, 61, 123);
/* oklch */ color: oklch(37.1% 0.114 260.2);
Tailwind
colors: {
  custom: {
    50: '#6571a2',
    500: '#183d7b',
    950: '#000000',
  },
}
SCSS
$custom: #183d7b;
$custom-light: #6571a2;
$custom-dark: #000000;
JSON
{
  "hex": "#183d7b",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 123
  },
  "hsl": {
    "h": 217.576,
    "s": 67.347,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37101,
    "c": 0.1139,
    "h": 260.2
  },
  "luminance": 0.04962
}

Semantic roles & 50–950 ramp

primary
#183D7B
secondary
#B0863F
accent
#AA3EEA
background
#F6F6FA
surface
#EBECF3
border
#C6C7CD
text
#06070F
muted
#7A7A7F

Preview Lab

Preview with #183D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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