#2847AE#2847AE

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

Color values

HEX#2847AE
RGBrgb(40, 71, 174)
HSLhsl(226, 63%, 42%)
HSVhsv(226, 77%, 68%)
CMYKcmyk(77%, 59.2%, 0%, 31.8%)
CIE-LABlab(34.01, 26.36, -58.22)
CIE-LCHlch(34.01, 63.91, 294.36°)
OKLaboklab(44.1% -0.0102 -0.1681)
OKLCHoklch(44.1% 0.168 266.5)
XYZxyz(10.7656, 8.0124, 41.0154)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2847AE #AE8F28
analogous
#288AAE #2847AE #4C28AE
triadic
#2847AE #AE2847 #47AE28
tetradic
#2847AE #AE288A #AE8F28 #28AE4C
square
#2847AE #AE288A #AE8F28 #28AE4C
split-complementary
#2847AE #AE4C28 #8AAE28
monochromatic
#111E4A #1D337C #2847AE #4062D3 #728BDF

Accessibility & contrast

On white

8.07
#2847AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2847AE
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2847AE#FFFFFF#000000##FFFFFF
##2847AE1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2847ae;
/* rgb */ color: rgb(40, 71, 174);
/* oklch */ color: oklch(44.1% 0.168 266.5);
Tailwind
colors: {
  custom: {
    50: '#7779c7',
    500: '#2847ae',
    950: '#000000',
  },
}
SCSS
$custom: #2847ae;
$custom-light: #7779c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2847ae",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 226.119,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.441,
    "c": 0.16845,
    "h": 266.5
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#2847AE
secondary
#C6B16C
accent
#C042E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2847AE

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

Preview Lab → · Contrast checker → · Palette generator →

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