#2846B6#2846B6

#2846B6 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.6% C 0.180 H 267.0°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2846B6
RGBrgb(40, 70, 182)
HSLhsl(227, 64%, 44%)
HSVhsv(227, 78%, 71%)
CMYKcmyk(78%, 61.5%, 0%, 28.6%)
CIE-LABlab(34.41, 30.05, -62.31)
CIE-LCHlch(34.41, 69.17, 295.75°)
OKLaboklab(44.61% -0.0095 -0.1801)
OKLCHoklch(44.61% 0.18 267)
XYZxyz(11.5058, 8.2075, 45.2247)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2846B6 #B69828
analogous
#288DB6 #2846B6 #5128B6
triadic
#2846B6 #B62846 #46B628
tetradic
#2846B6 #B6288D #B69828 #28B651
square
#2846B6 #B6288D #B69828 #28B651
split-complementary
#2846B6 #B65128 #8DB628
monochromatic
#121F52 #1D3384 #2846B6 #4564D6 #778EE1

Accessibility & contrast

On white

7.95
#2846B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2846B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2846B6
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2846B6#FFFFFF#000000##FFFFFF
##2846B61.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#004AB4
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2846b6;
/* rgb */ color: rgb(40, 70, 182);
/* oklch */ color: oklch(44.6% 0.180 267.0);
Tailwind
colors: {
  custom: {
    50: '#7979cd',
    500: '#2846b6',
    950: '#000000',
  },
}
SCSS
$custom: #2846b6;
$custom-light: #7979cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2846b6",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 182
  },
  "hsl": {
    "h": 227.324,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.44606,
    "c": 0.18039,
    "h": 267
  },
  "luminance": 0.08209
}

Semantic roles & 50–950 ramp

primary
#2846B6
secondary
#C9B671
accent
#C441E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2846B6

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

Preview Lab → · Contrast checker → · Palette generator →

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