#2847A4#2847A4

#2847A4 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.155 H 266.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2847A4
RGBrgb(40, 71, 164)
HSLhsl(225, 61%, 40%)
HSVhsv(225, 76%, 64%)
CMYKcmyk(75.6%, 56.7%, 0%, 35.7%)
CIE-LABlab(33.21, 22.54, -53.53)
CIE-LCHlch(33.21, 58.08, 292.83°)
OKLaboklab(43.26% -0.0106 -0.1544)
OKLCHoklch(43.26% 0.155 266.1)
XYZxyz(9.8268, 7.6369, 36.0709)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2847A4 #A48528
analogous
#2885A4 #2847A4 #4728A4
triadic
#2847A4 #A42847 #47A428
tetradic
#2847A4 #A42885 #A48528 #28A447
square
#2847A4 #A42885 #A48528 #28A447
split-complementary
#2847A4 #A44728 #85A428
monochromatic
#101C42 #1C3273 #2847A4 #3A5FCF #6B87DB

Accessibility & contrast

On white

8.31
#2847A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2847A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2847A4
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2847A4#FFFFFF#000000##FFFFFF
##2847A41.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2847a4;
/* rgb */ color: rgb(40, 71, 164);
/* oklch */ color: oklch(43.3% 0.155 266.1);
Tailwind
colors: {
  custom: {
    50: '#7479c0',
    500: '#2847a4',
    950: '#000000',
  },
}
SCSS
$custom: #2847a4;
$custom-light: #7479c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2847a4",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 164
  },
  "hsl": {
    "h": 225,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.43256,
    "c": 0.15474,
    "h": 266.1
  },
  "luminance": 0.07638
}

Semantic roles & 50–950 ramp

primary
#2847A4
secondary
#C1AB66
accent
#BC44E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2847A4

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

Preview Lab → · Contrast checker → · Palette generator →

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