#1813B4#1813B4

#1813B4 is a dark, highly saturated blue. Relative luminance 0.040; OKLCH L 36.6% C 0.229 H 268.0°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#1813B4
RGBrgb(24, 19, 180)
HSLhsl(242, 81%, 39%)
HSVhsv(242, 89%, 71%)
CMYKcmyk(86.7%, 89.4%, 0%, 29.4%)
CIE-LABlab(23.52, 56.24, -79.13)
CIE-LCHlch(23.52, 97.08, 305.40°)
OKLaboklab(36.57% -0.0078 -0.2289)
OKLCHoklch(36.57% 0.229 268)
XYZxyz(8.8450, 3.9541, 43.4682)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1813B4 #AFB413
analogous
#135FB4 #1813B4 #6913B4
triadic
#1813B4 #B41813 #13B418
tetradic
#1813B4 #B4135F #AFB413 #13B469
square
#1813B4 #B4135F #AFB413 #13B469
split-complementary
#1813B4 #B46913 #5FB413
monochromatic
#090745 #110D7D #1813B4 #231DE7 #5954ED

Accessibility & contrast

On white

11.73
#1813B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#1813B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1813B4
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1813B4#FFFFFF#000000##FFFFFF
##1813B41.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040B8
Deuteranopia (green-blind)
#002FB1
Tritanopia (blue-blind)
#004C6A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #1813b4;
/* rgb */ color: rgb(24, 19, 180);
/* oklch */ color: oklch(36.6% 0.229 268.0);
Tailwind
colors: {
  custom: {
    50: '#7959cc',
    500: '#1813b4',
    950: '#000000',
  },
}
SCSS
$custom: #1813b4;
$custom-light: #7959cc;
$custom-dark: #000000;
JSON
{
  "hex": "#1813b4",
  "rgb": {
    "r": 24,
    "g": 19,
    "b": 180
  },
  "hsl": {
    "h": 241.863,
    "s": 80.905,
    "l": 39.02
  },
  "oklch": {
    "l": 0.36574,
    "c": 0.22901,
    "h": 268
  },
  "luminance": 0.03955
}

Semantic roles & 50–950 ramp

primary
#1813B4
secondary
#CCCF53
accent
#F730F1
background
#F8F5FC
surface
#EFE9F9
border
#CAC5D2
text
#0B0414
muted
#7C7982

Preview Lab

Preview with #1813B4

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

Preview Lab → · Contrast checker → · Palette generator →

#1813B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva