#183D74#183D74

#183D74 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.6% C 0.104 H 258.5°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#183D74
RGBrgb(24, 61, 116)
HSLhsl(216, 66%, 27%)
HSVhsv(216, 79%, 45%)
CMYKcmyk(79.3%, 47.4%, 0%, 54.5%)
CIE-LABlab(26.13, 8.16, -35.41)
CIE-LCHlch(26.13, 36.34, 282.98°)
OKLaboklab(36.57% -0.0207 -0.1015)
OKLCHoklch(36.57% 0.104 258.5)
XYZxyz(5.1967, 4.7920, 17.1707)
Luminance0.0479 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183D74 #744F18
analogous
#186B74 #183D74 #211874
triadic
#183D74 #74183D #3D7418
tetradic
#183D74 #74186B #744F18 #187421
square
#183D74 #74186B #744F18 #187421
split-complementary
#183D74 #742118 #6B7418
monochromatic
#050D19 #0E2241 #183D74 #2258A7 #3273D5

Accessibility & contrast

On white

10.72
#183D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#183D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183D74
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183D74#FFFFFF#000000##FFFFFF
##183D741.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204276
Deuteranopia (green-blind)
#0C3A73
Tritanopia (blue-blind)
#004A52
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #183d74;
/* rgb */ color: rgb(24, 61, 116);
/* oklch */ color: oklch(36.6% 0.104 258.5);
Tailwind
colors: {
  custom: {
    50: '#64729c',
    500: '#183d74',
    950: '#000000',
  },
}
SCSS
$custom: #183d74;
$custom-light: #64729c;
$custom-dark: #000000;
JSON
{
  "hex": "#183d74",
  "rgb": {
    "r": 24,
    "g": 61,
    "b": 116
  },
  "hsl": {
    "h": 215.87,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.36567,
    "c": 0.10362,
    "h": 258.5
  },
  "luminance": 0.04793
}

Semantic roles & 50–950 ramp

primary
#183D74
secondary
#A97E3F
accent
#A43FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183D74

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

Preview Lab → · Contrast checker → · Palette generator →

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