#2847B0#2847B0

#2847B0 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.171 H 266.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#2847B0
RGBrgb(40, 71, 176)
HSLhsl(226, 63%, 42%)
HSVhsv(226, 77%, 69%)
CMYKcmyk(77.3%, 59.7%, 0%, 31%)
CIE-LABlab(34.17, 27.12, -59.14)
CIE-LCHlch(34.17, 65.07, 294.64°)
OKLaboklab(44.27% -0.0102 -0.1708)
OKLCHoklch(44.27% 0.171 266.6)
XYZxyz(10.9620, 8.0909, 42.0499)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2847B0 #B09128
analogous
#288BB0 #2847B0 #4D28B0
triadic
#2847B0 #B02847 #47B028
tetradic
#2847B0 #B0288B #B09128 #28B04D
square
#2847B0 #B0288B #B09128 #28B04D
split-complementary
#2847B0 #B04D28 #8BB028
monochromatic
#111F4C #1D337E #2847B0 #4163D4 #738CDF

Accessibility & contrast

On white

8.02
#2847B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2847B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2847B0
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2847B0#FFFFFF#000000##FFFFFF
##2847B01.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#004AAE
Tritanopia (blue-blind)
#006274
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2847b0;
/* rgb */ color: rgb(40, 71, 176);
/* oklch */ color: oklch(44.3% 0.171 266.6);
Tailwind
colors: {
  custom: {
    50: '#7779c8',
    500: '#2847b0',
    950: '#000000',
  },
}
SCSS
$custom: #2847b0;
$custom-light: #7779c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2847b0",
  "rgb": {
    "r": 40,
    "g": 71,
    "b": 176
  },
  "hsl": {
    "h": 226.324,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44272,
    "c": 0.17115,
    "h": 266.6
  },
  "luminance": 0.08092
}

Semantic roles & 50–950 ramp

primary
#2847B0
secondary
#C6B26D
accent
#C142E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2847B0

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

Preview Lab → · Contrast checker → · Palette generator →

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