#182481#182481

#182481 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.154 H 269.2°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#182481
RGBrgb(24, 36, 129)
HSLhsl(233, 69%, 30%)
HSVhsv(233, 81%, 51%)
CMYKcmyk(81.4%, 72.1%, 0%, 49.4%)
CIE-LABlab(20.20, 30.90, -53.30)
CIE-LCHlch(20.20, 61.60, 300.10°)
OKLaboklab(32.47% -0.0022 -0.1544)
OKLCHoklch(32.47% 0.154 269.2)
XYZxyz(4.9687, 3.0404, 21.0896)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#182481 #817518
analogous
#185881 #182481 #411881
triadic
#182481 #811824 #248118
tetradic
#182481 #811858 #817518 #188141
square
#182481 #811858 #817518 #188141
split-complementary
#182481 #814118 #588118
monochromatic
#05071A #0E164D #182481 #2232B5 #394CDA

Accessibility & contrast

On white

13.06
#182481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#182481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##182481#FFFFFF#000000##FFFFFF
##1824811.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)
#003684
Deuteranopia (green-blind)
#002C7F
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #182481;
/* rgb */ color: rgb(24, 36, 129);
/* oklch */ color: oklch(32.5% 0.154 269.2);
Tailwind
colors: {
  custom: {
    50: '#695fa7',
    500: '#182481',
    950: '#000000',
  },
}
SCSS
$custom: #182481;
$custom-light: #695fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#182481",
  "rgb": {
    "r": 24,
    "g": 36,
    "b": 129
  },
  "hsl": {
    "h": 233.143,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.32469,
    "c": 0.15438,
    "h": 269.2
  },
  "luminance": 0.03041
}

Semantic roles & 50–950 ramp

primary
#182481
secondary
#B5A840
accent
#D73CEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #182481

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

Preview Lab → · Contrast checker → · Palette generator →

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