#182174#182174

#182174 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.140 H 270.3°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#182174
RGBrgb(24, 33, 116)
HSLhsl(234, 66%, 27%)
HSVhsv(234, 79%, 45%)
CMYKcmyk(79.3%, 71.6%, 0%, 54.5%)
CIE-LABlab(18.11, 27.93, -48.45)
CIE-LCHlch(18.11, 55.93, 299.96°)
OKLaboklab(30.54% 0.0008 -0.1402)
OKLCHoklch(30.54% 0.14 270.3)
XYZxyz(4.0719, 2.5424, 16.7957)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182174 #746B18
analogous
#184F74 #182174 #3D1874
triadic
#182174 #741821 #217418
tetradic
#182174 #74184F #746B18 #18743D
square
#182174 #74184F #746B18 #18743D
split-complementary
#182174 #743D18 #4F7418
monochromatic
#050719 #0E1341 #182174 #222FA7 #3242D5

Accessibility & contrast

On white

13.92
#182174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#182174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182174
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182174#FFFFFF#000000##FFFFFF
##1821741.0013.921.5113.92
#FFFFFF13.921.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003847
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #182174;
/* rgb */ color: rgb(24, 33, 116);
/* oklch */ color: oklch(30.5% 0.140 270.3);
Tailwind
colors: {
  custom: {
    50: '#665c9d',
    500: '#182174',
    950: '#000000',
  },
}
SCSS
$custom: #182174;
$custom-light: #665c9d;
$custom-dark: #000000;
JSON
{
  "hex": "#182174",
  "rgb": {
    "r": 24,
    "g": 33,
    "b": 116
  },
  "hsl": {
    "h": 234.13,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30542,
    "c": 0.14023,
    "h": 270.3
  },
  "luminance": 0.02543
}

Semantic roles & 50–950 ramp

primary
#182174
secondary
#A99F3F
accent
#D83FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #182174

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

Preview Lab → · Contrast checker → · Palette generator →

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