#181574#181574

#181574 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.6% C 0.153 H 272.4°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#181574
RGBrgb(24, 21, 116)
HSLhsl(242, 69%, 27%)
HSVhsv(242, 82%, 45%)
CMYKcmyk(79.3%, 81.9%, 0%, 54.5%)
CIE-LABlab(15.44, 35.39, -52.86)
CIE-LCHlch(15.44, 63.61, 303.81°)
OKLaboklab(28.64% 0.0065 -0.153)
OKLCHoklch(28.64% 0.153 272.4)
XYZxyz(3.7962, 1.9911, 16.7039)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181574 #717415
analogous
#154274 #181574 #481574
triadic
#181574 #741815 #157418
tetradic
#181574 #741542 #717415 #157448
square
#181574 #741542 #717415 #157448
split-complementary
#181574 #744815 #427415
monochromatic
#05051A #0D0C40 #181574 #231EA8 #302BD9

Accessibility & contrast

On white

15.02
#181574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#181574 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181574
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181574#FFFFFF#000000##FFFFFF
##1815741.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B77
Deuteranopia (green-blind)
#002272
Tritanopia (blue-blind)
#003244
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #181574;
/* rgb */ color: rgb(24, 21, 116);
/* oklch */ color: oklch(28.6% 0.153 272.4);
Tailwind
colors: {
  custom: {
    50: '#67559d',
    500: '#181574',
    950: '#000000',
  },
}
SCSS
$custom: #181574;
$custom-light: #67559d;
$custom-dark: #000000;
JSON
{
  "hex": "#181574",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 241.895,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.2864,
    "c": 0.15312,
    "h": 272.4
  },
  "luminance": 0.01991
}

Semantic roles & 50–950 ramp

primary
#181574
secondary
#A6AA3B
accent
#EC3CE7
background
#F6F5F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181574

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

Preview Lab → · Contrast checker → · Palette generator →

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