#2814A0#2814A0

#2814A0 is a dark, highly saturated blue. Relative luminance 0.035; OKLCH L 35.0% C 0.202 H 274.6°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#2814A0
RGBrgb(40, 20, 160)
HSLhsl(249, 78%, 35%)
HSVhsv(249, 88%, 63%)
CMYKcmyk(75%, 87.5%, 0%, 37.3%)
CIE-LABlab(21.90, 50.78, -69.71)
CIE-LCHlch(21.90, 86.24, 306.07°)
OKLaboklab(34.98% 0.0162 -0.2015)
OKLCHoklch(34.98% 0.202 274.6)
XYZxyz(7.4683, 3.4887, 33.5307)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2814A0 #8CA014
analogous
#1446A0 #2814A0 #6E14A0
triadic
#2814A0 #A02814 #14A028
tetradic
#2814A0 #A01446 #8CA014 #14A06E
square
#2814A0 #A01446 #8CA014 #14A06E
split-complementary
#2814A0 #A06E14 #46A014
monochromatic
#0D0633 #1A0D6A #2814A0 #361BD6 #5E46E8

Accessibility & contrast

On white

12.37
#2814A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2814A0
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2814A0#FFFFFF#000000##FFFFFF
##2814A01.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003AA4
Deuteranopia (green-blind)
#002E9E
Tritanopia (blue-blind)
#00435E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2814a0;
/* rgb */ color: rgb(40, 20, 160);
/* oklch */ color: oklch(35.0% 0.202 274.6);
Tailwind
colors: {
  custom: {
    50: '#7859be',
    500: '#2814a0',
    950: '#000000',
  },
}
SCSS
$custom: #2814a0;
$custom-light: #7859be;
$custom-dark: #000000;
JSON
{
  "hex": "#2814a0",
  "rgb": {
    "r": 40,
    "g": 20,
    "b": 160
  },
  "hsl": {
    "h": 248.571,
    "s": 77.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34976,
    "c": 0.20211,
    "h": 274.6
  },
  "luminance": 0.03489
}

Semantic roles & 50–950 ramp

primary
#2814A0
secondary
#B6C947
accent
#F434D9
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #2814A0

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

Preview Lab → · Contrast checker → · Palette generator →

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