#2847AD#2847AD

#2847AD is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.167 H 266.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2847AD
RGBrgb(40, 71, 173)
HSLhsl(226, 62%, 42%)
HSVhsv(226, 77%, 68%)
CMYKcmyk(76.9%, 59%, 0%, 32.2%)
CIE-LABlab(33.93, 25.98, -57.76)
CIE-LCHlch(33.93, 63.33, 294.22°)
OKLaboklab(44.01% -0.0103 -0.1668)
OKLCHoklch(44.01% 0.167 266.5)
XYZxyz(10.6685, 7.9735, 40.5038)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2847AD #AD8E28
analogous
#288AAD #2847AD #4C28AD
triadic
#2847AD #AD2847 #47AD28
tetradic
#2847AD #AD288A #AD8E28 #28AD4C
square
#2847AD #AD288A #AD8E28 #28AD4C
split-complementary
#2847AD #AD4C28 #8AAD28
monochromatic
#111E4A #1D337B #2847AD #3F62D3 #718BDE

Accessibility & contrast

On white

8.09
#2847AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2847AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2847AD
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2847AD#FFFFFF#000000##FFFFFF
##2847AD1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B0
Deuteranopia (green-blind)
#004AAB
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2847ad;
/* rgb */ color: rgb(40, 71, 173);
/* oklch */ color: oklch(44.0% 0.167 266.5);
Tailwind
colors: {
  custom: {
    50: '#7779c6',
    500: '#2847ad',
    950: '#000000',
  },
}
SCSS
$custom: #2847ad;
$custom-light: #7779c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2847ad",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 173
  },
  "hsl": {
    "h": 226.015,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44014,
    "c": 0.1671,
    "h": 266.5
  },
  "luminance": 0.07975
}

Semantic roles & 50–950 ramp

primary
#2847AD
secondary
#C5B06C
accent
#BF42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2847AD

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

Preview Lab → · Contrast checker → · Palette generator →

#2847AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva