#2847A3#2847A3

#2847A3 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.2% C 0.153 H 266.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#2847A3
RGBrgb(40, 71, 163)
HSLhsl(225, 61%, 40%)
HSVhsv(225, 75%, 64%)
CMYKcmyk(75.5%, 56.4%, 0%, 36.1%)
CIE-LABlab(33.14, 22.15, -53.06)
CIE-LCHlch(33.14, 57.50, 292.66°)
OKLaboklab(43.17% -0.0107 -0.153)
OKLCHoklch(43.17% 0.153 266)
XYZxyz(9.7368, 7.6009, 35.5972)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2847A3 #A38428
analogous
#2885A3 #2847A3 #4728A3
triadic
#2847A3 #A32847 #47A328
tetradic
#2847A3 #A32885 #A38428 #28A347
square
#2847A3 #A32885 #A38428 #28A347
split-complementary
#2847A3 #A34728 #85A328
monochromatic
#101C41 #1C3272 #2847A3 #3A5FCF #6B87DB

Accessibility & contrast

On white

8.33
#2847A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2847A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2847A3
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2847A3#FFFFFF#000000##FFFFFF
##2847A31.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2847a3;
/* rgb */ color: rgb(40, 71, 163);
/* oklch */ color: oklch(43.2% 0.153 266.0);
Tailwind
colors: {
  custom: {
    50: '#7479bf',
    500: '#2847a3',
    950: '#000000',
  },
}
SCSS
$custom: #2847a3;
$custom-light: #7479bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2847a3",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 163
  },
  "hsl": {
    "h": 224.878,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.43173,
    "c": 0.15335,
    "h": 266
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

primary
#2847A3
secondary
#C1AA66
accent
#BB44E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2847A3

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

Preview Lab → · Contrast checker → · Palette generator →

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