#183174#183174

#183174 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.120 H 265.1°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#183174
RGBrgb(24, 49, 116)
HSLhsl(224, 66%, 27%)
HSVhsv(224, 79%, 45%)
CMYKcmyk(79.3%, 57.8%, 0%, 54.5%)
CIE-LABlab(22.48, 16.68, -41.30)
CIE-LCHlch(22.48, 44.54, 291.99°)
OKLaboklab(33.78% -0.0103 -0.1191)
OKLCHoklch(33.78% 0.12 265.1)
XYZxyz(4.6263, 3.6513, 16.9806)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183174 #745B18
analogous
#185F74 #183174 #2D1874
triadic
#183174 #741831 #317418
tetradic
#183174 #74185F #745B18 #18742D
square
#183174 #74185F #745B18 #18742D
split-complementary
#183174 #742D18 #5F7418
monochromatic
#050B19 #0E1C41 #183174 #2246A7 #325ED5

Accessibility & contrast

On white

12.14
#183174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#183174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183174
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183174#FFFFFF#000000##FFFFFF
##1831741.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #183174;
/* rgb */ color: rgb(24, 49, 116);
/* oklch */ color: oklch(33.8% 0.120 265.1);
Tailwind
colors: {
  custom: {
    50: '#64689d',
    500: '#183174',
    950: '#000000',
  },
}
SCSS
$custom: #183174;
$custom-light: #64689d;
$custom-dark: #000000;
JSON
{
  "hex": "#183174",
  "rgb": {
    "r": 24,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 223.696,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3378,
    "c": 0.11954,
    "h": 265.1
  },
  "luminance": 0.03652
}

Semantic roles & 50–950 ramp

primary
#183174
secondary
#A98C3F
accent
#BB3FE9
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #183174

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

Preview Lab → · Contrast checker → · Palette generator →

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