#2814A1#2814A1

#2814A1 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 35.1% C 0.203 H 274.5°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2814A1
RGBrgb(40, 20, 161)
HSLhsl(249, 78%, 35%)
HSVhsv(249, 88%, 63%)
CMYKcmyk(75.2%, 87.6%, 0%, 36.9%)
CIE-LABlab(22.03, 51.07, -70.11)
CIE-LCHlch(22.03, 86.74, 306.07°)
OKLaboklab(35.1% 0.0159 -0.2026)
OKLCHoklch(35.1% 0.203 274.5)
XYZxyz(7.5561, 3.5239, 33.9933)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2814A1 #8DA114
analogous
#1446A1 #2814A1 #6F14A1
triadic
#2814A1 #A12814 #14A128
tetradic
#2814A1 #A11446 #8DA114 #14A16F
square
#2814A1 #A11446 #8DA114 #14A16F
split-complementary
#2814A1 #A16F14 #46A114
monochromatic
#0D0634 #1A0D6B #2814A1 #361BD7 #5E47E8

Accessibility & contrast

On white

12.32
#2814A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2814A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2814A1
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2814A1#FFFFFF#000000##FFFFFF
##2814A11.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA5
Deuteranopia (green-blind)
#002E9F
Tritanopia (blue-blind)
#00445F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2814a1;
/* rgb */ color: rgb(40, 20, 161);
/* oklch */ color: oklch(35.1% 0.203 274.5);
Tailwind
colors: {
  custom: {
    50: '#7859be',
    500: '#2814a1',
    950: '#000000',
  },
}
SCSS
$custom: #2814a1;
$custom-light: #7859be;
$custom-dark: #000000;
JSON
{
  "hex": "#2814a1",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 161
  },
  "hsl": {
    "h": 248.511,
    "s": 77.901,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35099,
    "c": 0.20325,
    "h": 274.5
  },
  "luminance": 0.03525
}

Semantic roles & 50–950 ramp

primary
#2814A1
secondary
#B7C948
accent
#F433D9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2814A1

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

Preview Lab → · Contrast checker → · Palette generator →

#2814A1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva