#2847B2#2847B2

#2847B2 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.4% C 0.174 H 266.7°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2847B2
RGBrgb(40, 71, 178)
HSLhsl(227, 63%, 43%)
HSVhsv(227, 78%, 70%)
CMYKcmyk(77.5%, 60.1%, 0%, 30.2%)
CIE-LABlab(34.34, 27.88, -60.06)
CIE-LCHlch(34.34, 66.22, 294.90°)
OKLaboklab(44.45% -0.0101 -0.1735)
OKLCHoklch(44.45% 0.174 266.7)
XYZxyz(11.1614, 8.1707, 43.0997)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2847B2 #B29328
analogous
#288CB2 #2847B2 #4E28B2
triadic
#2847B2 #B22847 #47B228
tetradic
#2847B2 #B2288C #B29328 #28B24E
square
#2847B2 #B2288C #B29328 #28B24E
split-complementary
#2847B2 #B24E28 #8CB228
monochromatic
#121F4E #1D3380 #2847B2 #4363D5 #758DE0

Accessibility & contrast

On white

7.97
#2847B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2847B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2847B2
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2847B2#FFFFFF#000000##FFFFFF
##2847B21.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2847b2;
/* rgb */ color: rgb(40, 71, 178);
/* oklch */ color: oklch(44.4% 0.174 266.7);
Tailwind
colors: {
  custom: {
    50: '#7879ca',
    500: '#2847b2',
    950: '#000000',
  },
}
SCSS
$custom: #2847b2;
$custom-light: #7879ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2847b2",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 226.522,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44446,
    "c": 0.17385,
    "h": 266.7
  },
  "luminance": 0.08172
}

Semantic roles & 50–950 ramp

primary
#2847B2
secondary
#C7B36F
accent
#C141E6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2847B2

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

Preview Lab → · Contrast checker → · Palette generator →

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