#182381#182381

#182381 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.156 H 269.4°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#182381
RGBrgb(24, 35, 129)
HSLhsl(234, 69%, 30%)
HSVhsv(234, 81%, 51%)
CMYKcmyk(81.4%, 72.9%, 0%, 49.4%)
CIE-LABlab(19.97, 31.55, -53.69)
CIE-LCHlch(19.97, 62.27, 300.44°)
OKLaboklab(32.3% -0.0017 -0.1555)
OKLCHoklch(32.3% 0.156 269.4)
XYZxyz(4.9388, 2.9807, 21.0797)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182381 #817618
analogous
#185881 #182381 #411881
triadic
#182381 #811823 #238118
tetradic
#182381 #811858 #817618 #188141
square
#182381 #811858 #817618 #188141
split-complementary
#182381 #814118 #588118
monochromatic
#05071A #0E154D #182381 #2231B5 #394ADA

Accessibility & contrast

On white

13.16
#182381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#182381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #182381
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##182381#FFFFFF#000000##FFFFFF
##1823811.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002B7F
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #182381;
/* rgb */ color: rgb(24, 35, 129);
/* oklch */ color: oklch(32.3% 0.156 269.4);
Tailwind
colors: {
  custom: {
    50: '#695ea7',
    500: '#182381',
    950: '#000000',
  },
}
SCSS
$custom: #182381;
$custom-light: #695ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#182381",
  "rgb": {
    "r": 24,
    "g": 35,
    "b": 129
  },
  "hsl": {
    "h": 233.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.32297,
    "c": 0.15551,
    "h": 269.4
  },
  "luminance": 0.02981
}

Semantic roles & 50–950 ramp

primary
#182381
secondary
#B5A940
accent
#D93CEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F

Preview Lab

Preview with #182381

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

Preview Lab → · Contrast checker → · Palette generator →

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