#181773#181773

#181773 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.8% C 0.150 H 272.3°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#181773
RGBrgb(24, 23, 115)
HSLhsl(241, 67%, 27%)
HSVhsv(241, 80%, 45%)
CMYKcmyk(79.1%, 80%, 0%, 54.9%)
CIE-LABlab(15.72, 33.90, -51.75)
CIE-LCHlch(15.72, 61.87, 303.23°)
OKLaboklab(28.8% 0.006 -0.1498)
OKLCHoklch(28.8% 0.15 272.3)
XYZxyz(3.7766, 2.0444, 16.4119)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181773 #727317
analogous
#174473 #181773 #461773
triadic
#181773 #731817 #177318
tetradic
#181773 #731744 #727317 #177346
square
#181773 #731744 #727317 #177346
split-complementary
#181773 #734617 #447317
monochromatic
#05051A #0D0D40 #181773 #2321A6 #312FD5

Accessibility & contrast

On white

14.90
#181773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #181773
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181773#FFFFFF#000000##FFFFFF
##1817731.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002371
Tritanopia (blue-blind)
#003344
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #181773;
/* rgb */ color: rgb(24, 23, 115);
/* oklch */ color: oklch(28.8% 0.150 272.3);
Tailwind
colors: {
  custom: {
    50: '#67569c',
    500: '#181773',
    950: '#000000',
  },
}
SCSS
$custom: #181773;
$custom-light: #67569c;
$custom-dark: #000000;
JSON
{
  "hex": "#181773",
  "rgb": {
    "r": 24,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 240.652,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.288,
    "c": 0.14991,
    "h": 272.3
  },
  "luminance": 0.02045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #181773

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

Preview Lab → · Contrast checker → · Palette generator →

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