#181975#181975

#181975 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.3% C 0.150 H 271.8°. Best body text is #FFFFFF at 14.64:1 contrast (WCAG AA passes).

Color values

HEX#181975
RGBrgb(24, 25, 117)
HSLhsl(239, 66%, 28%)
HSVhsv(239, 79%, 46%)
CMYKcmyk(79.5%, 78.6%, 0%, 54.1%)
CIE-LABlab(16.37, 33.42, -51.96)
CIE-LCHlch(16.37, 61.78, 302.75°)
OKLaboklab(29.33% 0.0047 -0.1504)
OKLCHoklch(29.33% 0.15 271.8)
XYZxyz(3.9341, 2.1734, 17.0383)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181975 #757418
analogous
#184775 #181975 #461875
triadic
#181975 #751819 #197518
tetradic
#181975 #751847 #757418 #187546
square
#181975 #751847 #757418 #187546
split-complementary
#181975 #754618 #477518
monochromatic
#050519 #0E0E42 #181975 #2224A8 #3234D5

Accessibility & contrast

On white

14.64
#181975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#181975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181975
14.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181975#FFFFFF#000000##FFFFFF
##1819751.0014.641.4314.64
#FFFFFF14.641.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002473
Tritanopia (blue-blind)
#003446
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #181975;
/* rgb */ color: rgb(24, 25, 117);
/* oklch */ color: oklch(29.3% 0.150 271.8);
Tailwind
colors: {
  custom: {
    50: '#67579e',
    500: '#181975',
    950: '#000000',
  },
}
SCSS
$custom: #181975;
$custom-light: #67579e;
$custom-dark: #000000;
JSON
{
  "hex": "#181975",
  "rgb": {
    "r": 24,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 239.355,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.29331,
    "c": 0.15049,
    "h": 271.8
  },
  "luminance": 0.02174
}

Semantic roles & 50–950 ramp

primary
#181975
secondary
#AAA93F
accent
#E73FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181975

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

Preview Lab → · Contrast checker → · Palette generator →

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