#181774#181774

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

Color values

HEX#181774
RGBrgb(24, 23, 116)
HSLhsl(241, 67%, 27%)
HSVhsv(241, 80%, 45%)
CMYKcmyk(79.3%, 80.2%, 0%, 54.5%)
CIE-LABlab(15.84, 34.25, -52.20)
CIE-LCHlch(15.84, 62.43, 303.27°)
OKLaboklab(28.92% 0.0058 -0.1511)
OKLCHoklch(28.92% 0.151 272.2)
XYZxyz(3.8344, 2.0675, 16.7166)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181774 #737417
analogous
#174574 #181774 #461774
triadic
#181774 #741817 #177418
tetradic
#181774 #741745 #737417 #177446
square
#181774 #741745 #737417 #177446
split-complementary
#181774 #744617 #457417
monochromatic
#05051A #0D0D41 #181774 #2321A7 #3130D6

Accessibility & contrast

On white

14.86
#181774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181774
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181774#FFFFFF#000000##FFFFFF
##1817741.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181774;
/* rgb */ color: rgb(24, 23, 116);
/* oklch */ color: oklch(28.9% 0.151 272.2);
Tailwind
colors: {
  custom: {
    50: '#67569d',
    500: '#181774',
    950: '#000000',
  },
}
SCSS
$custom: #181774;
$custom-light: #67569d;
$custom-dark: #000000;
JSON
{
  "hex": "#181774",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 240.645,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.28919,
    "c": 0.1512,
    "h": 272.2
  },
  "luminance": 0.02068
}

Semantic roles & 50–950 ramp

primary
#181774
secondary
#A8A93D
accent
#EA3EE8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E

Preview Lab

Preview with #181774

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

Preview Lab → · Contrast checker → · Palette generator →

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