#2819B4#2819B4

#2819B4 is a dark, highly saturated blue. Relative luminance 0.044; OKLCH L 37.9% C 0.221 H 272.4°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2819B4
RGBrgb(40, 25, 180)
HSLhsl(246, 76%, 40%)
HSVhsv(246, 86%, 71%)
CMYKcmyk(77.8%, 86.1%, 0%, 29.4%)
CIE-LABlab(25.08, 54.64, -76.51)
CIE-LCHlch(25.08, 94.02, 305.53°)
OKLaboklab(37.86% 0.0093 -0.2212)
OKLCHoklch(37.86% 0.221 272.4)
XYZxyz(9.4582, 4.4406, 43.5298)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2819B4 #A5B419
analogous
#1958B4 #2819B4 #7519B4
triadic
#2819B4 #B42819 #19B428
tetradic
#2819B4 #B41958 #A5B419 #19B475
square
#2819B4 #B41958 #A5B419 #19B475
split-complementary
#2819B4 #B47519 #58B419
monochromatic
#100A49 #1C127E #2819B4 #3B29E1 #6C5FE9

Accessibility & contrast

On white

11.12
#2819B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2819B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2819B4
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2819B4#FFFFFF#000000##FFFFFF
##2819B41.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0034B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2819b4;
/* rgb */ color: rgb(40, 25, 180);
/* oklch */ color: oklch(37.9% 0.221 272.4);
Tailwind
colors: {
  custom: {
    50: '#7c5dcc',
    500: '#2819b4',
    950: '#000000',
  },
}
SCSS
$custom: #2819b4;
$custom-light: #7c5dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2819b4",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 245.806,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37862,
    "c": 0.22144,
    "h": 272.4
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#2819B4
secondary
#C2CD5C
accent
#F236E0
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0414
muted
#7D7982

Preview Lab

Preview with #2819B4

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

Preview Lab → · Contrast checker → · Palette generator →

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