#181C90#181C90

#181C90 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.182 H 269.5°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#181C90
RGBrgb(24, 28, 144)
HSLhsl(238, 71%, 33%)
HSVhsv(238, 83%, 56%)
CMYKcmyk(83.3%, 80.6%, 0%, 43.5%)
CIE-LABlab(20.19, 41.12, -62.72)
CIE-LCHlch(20.19, 74.99, 303.25°)
OKLaboklab(32.96% -0.0016 -0.1817)
OKLCHoklch(32.96% 0.182 269.5)
XYZxyz(5.8243, 3.0376, 26.6595)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181C90 #908C18
analogous
#185890 #181C90 #501890
triadic
#181C90 #90181C #1C9018
tetradic
#181C90 #901858 #908C18 #189050
square
#181C90 #901858 #908C18 #189050
split-complementary
#181C90 #905018 #589018
monochromatic
#070827 #0F125C #181C90 #2126C4 #4348E0

Accessibility & contrast

On white

13.06
#181C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#181C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181C90
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181C90#FFFFFF#000000##FFFFFF
##181C901.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #181c90;
/* rgb */ color: rgb(24, 28, 144);
/* oklch */ color: oklch(33.0% 0.182 269.5);
Tailwind
colors: {
  custom: {
    50: '#6e5bb2',
    500: '#181c90',
    950: '#000000',
  },
}
SCSS
$custom: #181c90;
$custom-light: #6e5bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#181c90",
  "rgb": {
    "r": 24,
    "g": 28,
    "b": 144
  },
  "hsl": {
    "h": 238,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32964,
    "c": 0.18167,
    "h": 269.5
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#181C90
secondary
#C0BC43
accent
#E83AEE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #181C90

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

Preview Lab → · Contrast checker → · Palette generator →

#181C90 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva