#181775#181775

#181775 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.0% C 0.152 H 272.1°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#181775
RGBrgb(24, 23, 117)
HSLhsl(241, 67%, 27%)
HSVhsv(241, 80%, 46%)
CMYKcmyk(79.5%, 80.3%, 0%, 54.1%)
CIE-LABlab(15.96, 34.60, -52.65)
CIE-LCHlch(15.96, 63.00, 303.32°)
OKLaboklab(29.04% 0.0055 -0.1524)
OKLCHoklch(29.04% 0.152 272.1)
XYZxyz(3.8929, 2.0909, 17.0246)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181775 #747517
analogous
#174575 #181775 #471775
triadic
#181775 #751817 #177518
tetradic
#181775 #751745 #747517 #177547
square
#181775 #751745 #747517 #177547
split-complementary
#181775 #754717 #457517
monochromatic
#05051A #0E0D42 #181775 #2221A8 #3230D6

Accessibility & contrast

On white

14.81
#181775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#181775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181775
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181775#FFFFFF#000000##FFFFFF
##1817751.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181775;
/* rgb */ color: rgb(24, 23, 117);
/* oklch */ color: oklch(29.0% 0.152 272.1);
Tailwind
colors: {
  custom: {
    50: '#67569e',
    500: '#181775',
    950: '#000000',
  },
}
SCSS
$custom: #181775;
$custom-light: #67569e;
$custom-dark: #000000;
JSON
{
  "hex": "#181775",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 240.638,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.29038,
    "c": 0.15249,
    "h": 272.1
  },
  "luminance": 0.02091
}

Semantic roles & 50–950 ramp

primary
#181775
secondary
#A9AA3D
accent
#EA3EE8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181775

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

Preview Lab → · Contrast checker → · Palette generator →

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