#183C74#183C74

#183C74 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.3% C 0.105 H 259.1°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#183C74
RGBrgb(24, 60, 116)
HSLhsl(217, 66%, 27%)
HSVhsv(217, 79%, 45%)
CMYKcmyk(79.3%, 48.3%, 0%, 54.5%)
CIE-LABlab(25.82, 8.86, -35.91)
CIE-LCHlch(25.82, 36.99, 283.86°)
OKLaboklab(36.33% -0.0198 -0.103)
OKLCHoklch(36.33% 0.105 259.1)
XYZxyz(5.1438, 4.6863, 17.1531)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183C74 #745018
analogous
#186A74 #183C74 #221874
triadic
#183C74 #74183C #3C7418
tetradic
#183C74 #74186A #745018 #187422
square
#183C74 #74186A #745018 #187422
split-complementary
#183C74 #742218 #6A7418
monochromatic
#050D19 #0E2241 #183C74 #2256A7 #3272D5

Accessibility & contrast

On white

10.84
#183C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#183C74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183C74
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183C74#FFFFFF#000000##FFFFFF
##183C741.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4276
Deuteranopia (green-blind)
#083973
Tritanopia (blue-blind)
#004952
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #183c74;
/* rgb */ color: rgb(24, 60, 116);
/* oklch */ color: oklch(36.3% 0.105 259.1);
Tailwind
colors: {
  custom: {
    50: '#64719c',
    500: '#183c74',
    950: '#000000',
  },
}
SCSS
$custom: #183c74;
$custom-light: #64719c;
$custom-dark: #000000;
JSON
{
  "hex": "#183c74",
  "rgb": {
    "r": 24,
    "g": 60,
    "b": 116
  },
  "hsl": {
    "h": 216.522,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36326,
    "c": 0.1049,
    "h": 259.1
  },
  "luminance": 0.04687
}

Semantic roles & 50–950 ramp

primary
#183C74
secondary
#A97F3F
accent
#A63FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183C74

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

Preview Lab → · Contrast checker → · Palette generator →

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