#183C76#183C76

#183C76 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.5% C 0.108 H 259.6°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#183C76
RGBrgb(24, 60, 118)
HSLhsl(217, 66%, 28%)
HSVhsv(217, 80%, 46%)
CMYKcmyk(79.7%, 49.2%, 0%, 53.7%)
CIE-LABlab(25.96, 9.69, -36.95)
CIE-LCHlch(25.96, 38.20, 284.69°)
OKLaboklab(36.48% -0.0194 -0.1061)
OKLCHoklch(36.48% 0.108 259.6)
XYZxyz(5.2614, 4.7333, 17.7724)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C76 #765218
analogous
#186B76 #183C76 #231876
triadic
#183C76 #76183C #3C7618
tetradic
#183C76 #76186B #765218 #187623
square
#183C76 #76186B #765218 #187623
split-complementary
#183C76 #762318 #6B7618
monochromatic
#050D19 #0E2243 #183C76 #2256A9 #3371D5

Accessibility & contrast

On white

10.79
#183C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #183C76
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C76#FFFFFF#000000##FFFFFF
##183C761.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4278
Deuteranopia (green-blind)
#033975
Tritanopia (blue-blind)
#004A53
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183c76;
/* rgb */ color: rgb(24, 60, 118);
/* oklch */ color: oklch(36.5% 0.108 259.6);
Tailwind
colors: {
  custom: {
    50: '#64719e',
    500: '#183c76',
    950: '#000000',
  },
}
SCSS
$custom: #183c76;
$custom-light: #64719e;
$custom-dark: #000000;
JSON
{
  "hex": "#183c76",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 118
  },
  "hsl": {
    "h": 217.021,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.36478,
    "c": 0.10785,
    "h": 259.6
  },
  "luminance": 0.04734
}

Semantic roles & 50–950 ramp

primary
#183C76
secondary
#AB823F
accent
#A83FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183C76

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

Preview Lab → · Contrast checker → · Palette generator →

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