#181575#181575

#181575 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.154 H 272.3°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#181575
RGBrgb(24, 21, 117)
HSLhsl(242, 70%, 27%)
HSVhsv(242, 82%, 46%)
CMYKcmyk(79.5%, 82.1%, 0%, 54.1%)
CIE-LABlab(15.56, 35.74, -53.30)
CIE-LCHlch(15.56, 64.17, 303.84°)
OKLaboklab(28.76% 0.0063 -0.1543)
OKLCHoklch(28.76% 0.154 272.3)
XYZxyz(3.8547, 2.0145, 17.0119)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181575 #727515
analogous
#154275 #181575 #481575
triadic
#181575 #751815 #157518
tetradic
#181575 #751542 #727515 #157548
square
#181575 #751542 #727515 #157548
split-complementary
#181575 #754815 #427515
monochromatic
#05051A #0D0C41 #181575 #231EA9 #312BD9

Accessibility & contrast

On white

14.97
#181575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181575
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181575#FFFFFF#000000##FFFFFF
##1815751.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B78
Deuteranopia (green-blind)
#002273
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #181575;
/* rgb */ color: rgb(24, 21, 117);
/* oklch */ color: oklch(28.8% 0.154 272.3);
Tailwind
colors: {
  custom: {
    50: '#67559e',
    500: '#181575',
    950: '#000000',
  },
}
SCSS
$custom: #181575;
$custom-light: #67559e;
$custom-dark: #000000;
JSON
{
  "hex": "#181575",
  "rgb": {
    "r": 24,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 241.875,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.28761,
    "c": 0.15439,
    "h": 272.3
  },
  "luminance": 0.02015
}

Semantic roles & 50–950 ramp

primary
#181575
secondary
#A7AB3B
accent
#EC3BE7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181575

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

Preview Lab → · Contrast checker → · Palette generator →

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