#183A74#183A74

#183A74 is a dark, moderate blue. Relative luminance 0.045; OKLCH L 35.8% C 0.108 H 260.4°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#183A74
RGBrgb(24, 58, 116)
HSLhsl(218, 66%, 27%)
HSVhsv(218, 79%, 45%)
CMYKcmyk(79.3%, 50%, 0%, 54.5%)
CIE-LABlab(25.20, 10.27, -36.91)
CIE-LCHlch(25.20, 38.31, 285.55°)
OKLaboklab(35.85% -0.018 -0.106)
OKLCHoklch(35.85% 0.108 260.4)
XYZxyz(5.0410, 4.4807, 17.1188)
Luminance0.0448 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183A74 #745218
analogous
#186874 #183A74 #241874
triadic
#183A74 #74183A #3A7418
tetradic
#183A74 #741868 #745218 #187424
square
#183A74 #741868 #745218 #187424
split-complementary
#183A74 #742418 #687418
monochromatic
#050D19 #0E2141 #183A74 #2253A7 #326ED5

Accessibility & contrast

On white

11.07
#183A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#183A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183A74
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183A74#FFFFFF#000000##FFFFFF
##183A741.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4076
Deuteranopia (green-blind)
#003873
Tritanopia (blue-blind)
#004851
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #183a74;
/* rgb */ color: rgb(24, 58, 116);
/* oklch */ color: oklch(35.8% 0.108 260.4);
Tailwind
colors: {
  custom: {
    50: '#646f9c',
    500: '#183a74',
    950: '#000000',
  },
}
SCSS
$custom: #183a74;
$custom-light: #646f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#183a74",
  "rgb": {
    "r": 24,
    "g": 58,
    "b": 116
  },
  "hsl": {
    "h": 217.826,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.35849,
    "c": 0.10751,
    "h": 260.4
  },
  "luminance": 0.04481
}

Semantic roles & 50–950 ramp

primary
#183A74
secondary
#A9823F
accent
#AA3FE9
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183A74

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

Preview Lab → · Contrast checker → · Palette generator →

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