#181675#181675

#181675 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.153 H 272.2°. Best body text is #FFFFFF at 14.89:1 contrast (WCAG AA passes).

Color values

HEX#181675
RGBrgb(24, 22, 117)
HSLhsl(241, 68%, 27%)
HSVhsv(241, 81%, 46%)
CMYKcmyk(79.5%, 81.2%, 0%, 54.1%)
CIE-LABlab(15.76, 35.18, -52.98)
CIE-LCHlch(15.76, 63.59, 303.58°)
OKLaboklab(28.9% 0.0059 -0.1533)
OKLCHoklch(28.9% 0.153 272.2)
XYZxyz(3.8734, 2.0519, 17.0181)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181675 #737516
analogous
#164475 #181675 #471675
triadic
#181675 #751816 #167518
tetradic
#181675 #751644 #737516 #167547
square
#181675 #751644 #737516 #167547
split-complementary
#181675 #754716 #447516
monochromatic
#05051A #0D0C41 #181675 #2320A9 #312ED8

Accessibility & contrast

On white

14.89
#181675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#181675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181675
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181675#FFFFFF#000000##FFFFFF
##1816751.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181675;
/* rgb */ color: rgb(24, 22, 117);
/* oklch */ color: oklch(28.9% 0.153 272.2);
Tailwind
colors: {
  custom: {
    50: '#67559e',
    500: '#181675',
    950: '#000000',
  },
}
SCSS
$custom: #181675;
$custom-light: #67559e;
$custom-dark: #000000;
JSON
{
  "hex": "#181675",
  "rgb": {
    "r": 24,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 241.263,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.28898,
    "c": 0.15345,
    "h": 272.2
  },
  "luminance": 0.02052
}

Semantic roles & 50–950 ramp

primary
#181675
secondary
#A8AB3C
accent
#EB3DE8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181675

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

Preview Lab → · Contrast checker → · Palette generator →

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