#2846B4#2846B4

#2846B4 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.4% C 0.178 H 266.9°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#2846B4
RGBrgb(40, 70, 180)
HSLhsl(227, 64%, 43%)
HSVhsv(227, 78%, 71%)
CMYKcmyk(77.8%, 61.1%, 0%, 29.4%)
CIE-LABlab(34.24, 29.30, -61.40)
CIE-LCHlch(34.24, 68.03, 295.51°)
OKLaboklab(44.43% -0.0095 -0.1775)
OKLCHoklch(44.43% 0.178 266.9)
XYZxyz(11.3006, 8.1254, 44.1440)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2846B4 #B49628
analogous
#288CB4 #2846B4 #5028B4
triadic
#2846B4 #B42846 #46B428
tetradic
#2846B4 #B4288C #B49628 #28B450
square
#2846B4 #B4288C #B49628 #28B450
split-complementary
#2846B4 #B45028 #8CB428
monochromatic
#121F50 #1D3382 #2846B4 #4463D5 #768DE1

Accessibility & contrast

On white

8.00
#2846B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2846B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2846B4
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2846B4#FFFFFF#000000##FFFFFF
##2846B41.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#004AB2
Tritanopia (blue-blind)
#006276
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2846b4;
/* rgb */ color: rgb(40, 70, 180);
/* oklch */ color: oklch(44.4% 0.178 266.9);
Tailwind
colors: {
  custom: {
    50: '#7879cb',
    500: '#2846b4',
    950: '#000000',
  },
}
SCSS
$custom: #2846b4;
$custom-light: #7879cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2846b4",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 180
  },
  "hsl": {
    "h": 227.143,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44428,
    "c": 0.17773,
    "h": 266.9
  },
  "luminance": 0.08127
}

Semantic roles & 50–950 ramp

primary
#2846B4
secondary
#C8B570
accent
#C341E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2846B4

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

Preview Lab → · Contrast checker → · Palette generator →

#2846B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva