#2846B2#2846B2

#2846B2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.3% C 0.175 H 266.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2846B2
RGBrgb(40, 70, 178)
HSLhsl(227, 63%, 43%)
HSVhsv(227, 78%, 70%)
CMYKcmyk(77.5%, 60.7%, 0%, 30.2%)
CIE-LABlab(34.08, 28.54, -60.49)
CIE-LCHlch(34.08, 66.88, 295.26°)
OKLaboklab(44.25% -0.0095 -0.1748)
OKLCHoklch(44.25% 0.175 266.9)
XYZxyz(11.0983, 8.0445, 43.0787)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2846B2 #B29428
analogous
#288BB2 #2846B2 #4F28B2
triadic
#2846B2 #B22846 #46B228
tetradic
#2846B2 #B2288B #B29428 #28B24F
square
#2846B2 #B2288B #B29428 #28B24F
split-complementary
#2846B2 #B24F28 #8BB228
monochromatic
#121F4E #1D3280 #2846B2 #4362D5 #758CE0

Accessibility & contrast

On white

8.05
#2846B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2846B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2846B2
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2846B2#FFFFFF#000000##FFFFFF
##2846B21.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2846b2;
/* rgb */ color: rgb(40, 70, 178);
/* oklch */ color: oklch(44.3% 0.175 266.9);
Tailwind
colors: {
  custom: {
    50: '#7879ca',
    500: '#2846b2',
    950: '#000000',
  },
}
SCSS
$custom: #2846b2;
$custom-light: #7879ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2846b2",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 226.957,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44252,
    "c": 0.17507,
    "h": 266.9
  },
  "luminance": 0.08046
}

Semantic roles & 50–950 ramp

primary
#2846B2
secondary
#C7B46F
accent
#C241E6
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2846B2

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

Preview Lab → · Contrast checker → · Palette generator →

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