#181B90#181B90

#181B90 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.183 H 269.6°. Best body text is #FFFFFF at 13.14:1 contrast (WCAG AA passes).

Color values

HEX#181B90
RGBrgb(24, 27, 144)
HSLhsl(239, 71%, 33%)
HSVhsv(239, 83%, 56%)
CMYKcmyk(83.3%, 81.3%, 0%, 43.5%)
CIE-LABlab(20.01, 41.65, -63.03)
CIE-LCHlch(20.01, 75.55, 303.46°)
OKLaboklab(32.83% -0.0013 -0.1825)
OKLCHoklch(32.83% 0.183 269.6)
XYZxyz(5.8009, 2.9910, 26.6517)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181B90 #908D18
analogous
#185790 #181B90 #511890
triadic
#181B90 #90181B #1B9018
tetradic
#181B90 #901857 #908D18 #189051
square
#181B90 #901857 #908D18 #189051
split-complementary
#181B90 #905118 #579018
monochromatic
#070727 #0F115C #181B90 #2125C4 #4347E0

Accessibility & contrast

On white

13.14
#181B90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#181B90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181B90
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181B90#FFFFFF#000000##FFFFFF
##181B901.0013.141.6013.14
#FFFFFF13.141.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #181b90;
/* rgb */ color: rgb(24, 27, 144);
/* oklch */ color: oklch(32.8% 0.183 269.6);
Tailwind
colors: {
  custom: {
    50: '#6e5ab2',
    500: '#181b90',
    950: '#000000',
  },
}
SCSS
$custom: #181b90;
$custom-light: #6e5ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#181b90",
  "rgb": {
    "r": 24,
    "g": 27,
    "b": 144
  },
  "hsl": {
    "h": 238.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.32833,
    "c": 0.18254,
    "h": 269.6
  },
  "luminance": 0.02992
}

Semantic roles & 50–950 ramp

primary
#181B90
secondary
#C0BD43
accent
#EA3AEE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #181B90

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

Preview Lab → · Contrast checker → · Palette generator →

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