#2846B3#2846B3

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

Color values

HEX#2846B3
RGBrgb(40, 70, 179)
HSLhsl(227, 63%, 43%)
HSVhsv(227, 78%, 70%)
CMYKcmyk(77.7%, 60.9%, 0%, 29.8%)
CIE-LABlab(34.16, 28.92, -60.94)
CIE-LCHlch(34.16, 67.46, 295.39°)
OKLaboklab(44.34% -0.0095 -0.1761)
OKLCHoklch(44.34% 0.176 266.9)
XYZxyz(11.1991, 8.0848, 43.6094)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2846B3 #B39528
analogous
#288CB3 #2846B3 #4F28B3
triadic
#2846B3 #B32846 #46B328
tetradic
#2846B3 #B3288C #B39528 #28B34F
square
#2846B3 #B3288C #B39528 #28B34F
split-complementary
#2846B3 #B34F28 #8CB328
monochromatic
#121F4F #1D3281 #2846B3 #4363D5 #758CE0

Accessibility & contrast

On white

8.02
#2846B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2846B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2846B3
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2846B3#FFFFFF#000000##FFFFFF
##2846B31.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)
#0057B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2846b3;
/* rgb */ color: rgb(40, 70, 179);
/* oklch */ color: oklch(44.3% 0.176 266.9);
Tailwind
colors: {
  custom: {
    50: '#7879cb',
    500: '#2846b3',
    950: '#000000',
  },
}
SCSS
$custom: #2846b3;
$custom-light: #7879cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2846b3",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 179
  },
  "hsl": {
    "h": 227.05,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.4434,
    "c": 0.1764,
    "h": 266.9
  },
  "luminance": 0.08086
}

Semantic roles & 50–950 ramp

primary
#2846B3
secondary
#C8B56F
accent
#C341E6
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2846B3

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

Preview Lab → · Contrast checker → · Palette generator →

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