#183474#183474

#183474 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.116 H 263.7°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#183474
RGBrgb(24, 52, 116)
HSLhsl(222, 66%, 27%)
HSVhsv(222, 79%, 45%)
CMYKcmyk(79.3%, 55.2%, 0%, 54.5%)
CIE-LABlab(23.37, 14.53, -39.86)
CIE-LCHlch(23.37, 42.43, 290.03°)
OKLaboklab(34.45% -0.0128 -0.1148)
OKLCHoklch(34.45% 0.116 263.7)
XYZxyz(4.7559, 3.9106, 17.0238)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183474 #745818
analogous
#186274 #183474 #2A1874
triadic
#183474 #741834 #347418
tetradic
#183474 #741862 #745818 #18742A
square
#183474 #741862 #745818 #18742A
split-complementary
#183474 #742A18 #627418
monochromatic
#050B19 #0E1D41 #183474 #224BA7 #3263D5

Accessibility & contrast

On white

11.78
#183474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#183474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183474
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183474#FFFFFF#000000##FFFFFF
##1834741.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063C76
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #183474;
/* rgb */ color: rgb(24, 52, 116);
/* oklch */ color: oklch(34.5% 0.116 263.7);
Tailwind
colors: {
  custom: {
    50: '#646a9d',
    500: '#183474',
    950: '#000000',
  },
}
SCSS
$custom: #183474;
$custom-light: #646a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#183474",
  "rgb": {
    "r": 24,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 221.739,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34454,
    "c": 0.1155,
    "h": 263.7
  },
  "luminance": 0.03911
}

Semantic roles & 50–950 ramp

primary
#183474
secondary
#A9893F
accent
#B53FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #183474

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

Preview Lab → · Contrast checker → · Palette generator →

#183474 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva