#181175#181175

#181175 is a dark, vivid blue. Relative luminance 0.019; OKLCH L 28.3% C 0.158 H 272.8°. Best body text is #FFFFFF at 15.26:1 contrast (WCAG AA passes).

Color values

HEX#181175
RGBrgb(24, 17, 117)
HSLhsl(244, 75%, 26%)
HSVhsv(244, 85%, 46%)
CMYKcmyk(79.5%, 85.5%, 0%, 54.1%)
CIE-LABlab(14.84, 37.85, -54.50)
CIE-LCHlch(14.84, 66.35, 304.78°)
OKLaboklab(28.26% 0.0076 -0.1577)
OKLCHoklch(28.26% 0.158 272.8)
XYZxyz(3.7869, 1.8790, 16.9893)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181175 #6E7511
analogous
#113C75 #181175 #4A1175
triadic
#181175 #751811 #117518
tetradic
#181175 #75113C #6E7511 #11754A
square
#181175 #75113C #6E7511 #11754A
split-complementary
#181175 #754A11 #3C7511
monochromatic
#05041B #0D0940 #181175 #2319AA #2F22DF

Accessibility & contrast

On white

15.26
#181175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#181175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181175
15.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181175#FFFFFF#000000##FFFFFF
##1811751.0015.261.3815.26
#FFFFFF15.261.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A78
Deuteranopia (green-blind)
#002073
Tritanopia (blue-blind)
#003144
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #181175;
/* rgb */ color: rgb(24, 17, 117);
/* oklch */ color: oklch(28.3% 0.158 272.8);
Tailwind
colors: {
  custom: {
    50: '#68529e',
    500: '#181175',
    950: '#000000',
  },
}
SCSS
$custom: #181175;
$custom-light: #68529e;
$custom-dark: #000000;
JSON
{
  "hex": "#181175",
  "rgb": {
    "r": 24,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 244.2,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.28258,
    "c": 0.15785,
    "h": 272.8
  },
  "luminance": 0.01879
}

Semantic roles & 50–950 ramp

primary
#181175
secondary
#A4AC36
accent
#F137E4
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #181175

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

Preview Lab → · Contrast checker → · Palette generator →

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