#2819A0#2819A0

#2819A0 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.5% C 0.199 H 274.3°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#2819A0
RGBrgb(40, 25, 160)
HSLhsl(247, 73%, 36%)
HSVhsv(247, 84%, 63%)
CMYKcmyk(75%, 84.4%, 0%, 37.3%)
CIE-LABlab(22.60, 48.72, -68.56)
CIE-LCHlch(22.60, 84.10, 305.40°)
OKLaboklab(35.45% 0.0149 -0.1982)
OKLCHoklch(35.45% 0.199 274.3)
XYZxyz(7.5658, 3.6837, 33.5632)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2819A0 #91A019
analogous
#194EA0 #2819A0 #6C19A0
triadic
#2819A0 #A02819 #19A028
tetradic
#2819A0 #A0194E #91A019 #19A06C
square
#2819A0 #A0194E #91A019 #19A06C
split-complementary
#2819A0 #A06C19 #4EA019
monochromatic
#0E0836 #1B116B #2819A0 #3521D5 #6050E4

Accessibility & contrast

On white

12.09
#2819A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2819A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2819A0
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2819A0#FFFFFF#000000##FFFFFF
##2819A01.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA4
Deuteranopia (green-blind)
#00309E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2819a0;
/* rgb */ color: rgb(40, 25, 160);
/* oklch */ color: oklch(35.5% 0.199 274.3);
Tailwind
colors: {
  custom: {
    50: '#775bbe',
    500: '#2819a0',
    950: '#000000',
  },
}
SCSS
$custom: #2819a0;
$custom-light: #775bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2819a0",
  "rgb": {
    "r": 40,
    "g": 25,
    "b": 160
  },
  "hsl": {
    "h": 246.667,
    "s": 72.973,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35451,
    "c": 0.19878,
    "h": 274.3
  },
  "luminance": 0.03684
}

Semantic roles & 50–950 ramp

primary
#2819A0
secondary
#B9C64F
accent
#F038DB
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #2819A0

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

Preview Lab → · Contrast checker → · Palette generator →

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