#181A85#181A85

#181A85 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.170 H 270.4°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#181A85
RGBrgb(24, 26, 133)
HSLhsl(239, 69%, 31%)
HSVhsv(239, 82%, 52%)
CMYKcmyk(82%, 80.5%, 0%, 47.8%)
CIE-LABlab(18.48, 38.46, -58.67)
CIE-LCHlch(18.48, 70.16, 303.25°)
OKLaboklab(31.37% 0.0011 -0.1699)
OKLCHoklch(31.37% 0.17 270.4)
XYZxyz(4.9783, 2.6259, 22.4302)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181A85 #858318
analogous
#185085 #181A85 #4C1885
triadic
#181A85 #85181A #1A8518
tetradic
#181A85 #851850 #858318 #18854C
square
#181A85 #851850 #858318 #18854C
split-complementary
#181A85 #854C18 #508518
monochromatic
#05061D #0F1051 #181A85 #2124B9 #3C3FDC

Accessibility & contrast

On white

13.77
#181A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#181A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181A85
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181A85#FFFFFF#000000##FFFFFF
##181A851.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002783
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #181a85;
/* rgb */ color: rgb(24, 26, 133);
/* oklch */ color: oklch(31.4% 0.170 270.4);
Tailwind
colors: {
  custom: {
    50: '#6b59aa',
    500: '#181a85',
    950: '#000000',
  },
}
SCSS
$custom: #181a85;
$custom-light: #6b59aa;
$custom-dark: #000000;
JSON
{
  "hex": "#181a85",
  "rgb": {
    "r": 24,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 238.899,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.31373,
    "c": 0.16991,
    "h": 270.4
  },
  "luminance": 0.02626
}

Semantic roles & 50–950 ramp

primary
#181A85
secondary
#B9B740
accent
#E93CEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F

Preview Lab

Preview with #181A85

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

Preview Lab → · Contrast checker → · Palette generator →

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