#181475#181475

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

Color values

HEX#181475
RGBrgb(24, 20, 117)
HSLhsl(242, 71%, 27%)
HSVhsv(242, 83%, 46%)
CMYKcmyk(79.5%, 82.9%, 0%, 54.1%)
CIE-LABlab(15.37, 36.29, -53.61)
CIE-LCHlch(15.37, 64.74, 304.09°)
OKLaboklab(28.63% 0.0067 -0.1551)
OKLCHoklch(28.63% 0.155 272.5)
XYZxyz(3.8367, 1.9784, 17.0058)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181475 #717514
analogous
#144175 #181475 #491475
triadic
#181475 #751814 #147518
tetradic
#181475 #751441 #717514 #147549
square
#181475 #751441 #717514 #147549
split-complementary
#181475 #754914 #417514
monochromatic
#05041A #0D0B41 #181475 #231DA9 #3029DA

Accessibility & contrast

On white

15.05
#181475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181475
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181475#FFFFFF#000000##FFFFFF
##1814751.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181475;
/* rgb */ color: rgb(24, 20, 117);
/* oklch */ color: oklch(28.6% 0.155 272.5);
Tailwind
colors: {
  custom: {
    50: '#67549e',
    500: '#181475',
    950: '#000000',
  },
}
SCSS
$custom: #181475;
$custom-light: #67549e;
$custom-dark: #000000;
JSON
{
  "hex": "#181475",
  "rgb": {
    "r": 24,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 242.474,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.28629,
    "c": 0.15529,
    "h": 272.5
  },
  "luminance": 0.01979
}

Semantic roles & 50–950 ramp

primary
#181475
secondary
#A6AB3A
accent
#EE3AE6
background
#F6F4F9
surface
#ECE8F2
border
#C7C4CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181475

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

Preview Lab → · Contrast checker → · Palette generator →

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