#181FDD#181FDD

#181FDD is a dark, highly saturated blue. Relative luminance 0.064; OKLCH L 42.8% C 0.266 H 266.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#181FDD
RGBrgb(24, 31, 221)
HSLhsl(238, 80%, 48%)
HSVhsv(238, 89%, 87%)
CMYKcmyk(89.1%, 86%, 0%, 13.3%)
CIE-LABlab(30.38, 63.59, -91.73)
CIE-LCHlch(30.38, 111.61, 304.73°)
OKLaboklab(42.77% -0.0157 -0.2655)
OKLCHoklch(42.77% 0.266 266.6)
XYZxyz(13.9133, 6.3928, 68.8932)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#181FDD #DDD618
analogous
#1881DD #181FDD #7318DD
triadic
#181FDD #DD181F #1FDD18
tetradic
#181FDD #DD1881 #DDD618 #18DD73
square
#181FDD #DD1881 #DDD618 #18DD73
split-complementary
#181FDD #DD7318 #81DD18
monochromatic
#0C106F #1217A6 #181FDD #474DEB #7E82F1

Accessibility & contrast

On white

9.21
#181FDD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#181FDD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #181FDD
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##181FDD#FFFFFF#000000##FFFFFF
##181FDD1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052E2
Deuteranopia (green-blind)
#003DDA
Tritanopia (blue-blind)
#006184
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #181fdd;
/* rgb */ color: rgb(24, 31, 221);
/* oklch */ color: oklch(42.8% 0.266 266.6);
Tailwind
colors: {
  custom: {
    50: '#8362e9',
    500: '#181fdd',
    950: '#000000',
  },
}
SCSS
$custom: #181fdd;
$custom-light: #8362e9;
$custom-dark: #000000;
JSON
{
  "hex": "#181fdd",
  "rgb": {
    "r": 24,
    "g": 31,
    "b": 221
  },
  "hsl": {
    "h": 237.868,
    "s": 80.408,
    "l": 48.039
  },
  "oklch": {
    "l": 0.42773,
    "c": 0.26598,
    "h": 266.6
  },
  "luminance": 0.06395
}

Semantic roles & 50–950 ramp

primary
#181FDD
secondary
#D9D678
accent
#F031F7
background
#F9F6FE
surface
#F1EBFD
border
#CBC6D5
text
#0D0616
muted
#7E7A84

Preview Lab

Preview with #181FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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