#183A76#183A76

#183A76 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 36.0% C 0.110 H 260.8°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#183A76
RGBrgb(24, 58, 118)
HSLhsl(218, 66%, 28%)
HSVhsv(218, 80%, 46%)
CMYKcmyk(79.7%, 50.8%, 0%, 53.7%)
CIE-LABlab(25.34, 11.10, -37.95)
CIE-LCHlch(25.34, 39.54, 286.30°)
OKLaboklab(36% -0.0177 -0.109)
OKLCHoklch(36% 0.11 260.8)
XYZxyz(5.1586, 4.5277, 17.7381)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A76 #765418
analogous
#186976 #183A76 #251876
triadic
#183A76 #76183A #3A7618
tetradic
#183A76 #761869 #765418 #187625
square
#183A76 #761869 #765418 #187625
split-complementary
#183A76 #762518 #697618
monochromatic
#050C19 #0E2143 #183A76 #2253A9 #336ED5

Accessibility & contrast

On white

11.02
#183A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#183A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A76
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A76#FFFFFF#000000##FFFFFF
##183A761.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174178
Deuteranopia (green-blind)
#003875
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #183a76;
/* rgb */ color: rgb(24, 58, 118);
/* oklch */ color: oklch(36.0% 0.110 260.8);
Tailwind
colors: {
  custom: {
    50: '#646f9e',
    500: '#183a76',
    950: '#000000',
  },
}
SCSS
$custom: #183a76;
$custom-light: #646f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#183a76",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 118
  },
  "hsl": {
    "h": 218.298,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36005,
    "c": 0.11047,
    "h": 260.8
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#183A76
secondary
#AB843F
accent
#AB3FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183A76

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

Preview Lab → · Contrast checker → · Palette generator →

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