#183D7A#183D7A

#183D7A is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.0% C 0.112 H 259.9°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#183D7A
RGBrgb(24, 61, 122)
HSLhsl(217, 67%, 29%)
HSVhsv(217, 80%, 48%)
CMYKcmyk(80.3%, 50%, 0%, 52.2%)
CIE-LABlab(26.55, 10.65, -38.53)
CIE-LCHlch(26.55, 39.97, 285.45°)
OKLaboklab(37.02% -0.0196 -0.1107)
OKLCHoklch(37.02% 0.112 259.9)
XYZxyz(5.5570, 4.9362, 19.0685)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D7A #7A5518
analogous
#186E7A #183D7A #24187A
triadic
#183D7A #7A183D #3D7A18
tetradic
#183D7A #7A186E #7A5518 #187A24
square
#183D7A #7A186E #7A5518 #187A24
split-complementary
#183D7A #7A2418 #6E7A18
monochromatic
#050D1A #0E2347 #183D7A #2257AD #3572D7

Accessibility & contrast

On white

10.57
#183D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183D7A
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D7A#FFFFFF#000000##FFFFFF
##183D7A1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447C
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #183d7a;
/* rgb */ color: rgb(24, 61, 122);
/* oklch */ color: oklch(37.0% 0.112 259.9);
Tailwind
colors: {
  custom: {
    50: '#6571a1',
    500: '#183d7a',
    950: '#000000',
  },
}
SCSS
$custom: #183d7a;
$custom-light: #6571a1;
$custom-dark: #000000;
JSON
{
  "hex": "#183d7a",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 122
  },
  "hsl": {
    "h": 217.347,
    "s": 67.123,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37023,
    "c": 0.11243,
    "h": 259.9
  },
  "luminance": 0.04937
}

Semantic roles & 50–950 ramp

primary
#183D7A
secondary
#AF853F
accent
#A93EEA
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070F
muted
#7A7A7E

Preview Lab

Preview with #183D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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