#2846BC#2846BC

#2846BC is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.1% C 0.188 H 267.1°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#2846BC
RGBrgb(40, 70, 188)
HSLhsl(228, 65%, 45%)
HSVhsv(228, 79%, 74%)
CMYKcmyk(78.7%, 62.8%, 0%, 26.3%)
CIE-LABlab(34.92, 32.30, -65.00)
CIE-LCHlch(34.92, 72.58, 296.42°)
OKLaboklab(45.15% -0.0095 -0.188)
OKLCHoklch(45.15% 0.188 267.1)
XYZxyz(12.1392, 8.4609, 48.5605)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2846BC #BC9E28
analogous
#2890BC #2846BC #5428BC
triadic
#2846BC #BC2846 #46BC28
tetradic
#2846BC #BC2890 #BC9E28 #28BC54
square
#2846BC #BC2890 #BC9E28 #28BC54
split-complementary
#2846BC #BC5428 #90BC28
monochromatic
#132057 #1D338A #2846BC #4966D8 #7B90E3

Accessibility & contrast

On white

7.80
#2846BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2846BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2846BC
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2846BC#FFFFFF#000000##FFFFFF
##2846BC1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2846bc;
/* rgb */ color: rgb(40, 70, 188);
/* oklch */ color: oklch(45.1% 0.188 267.1);
Tailwind
colors: {
  custom: {
    50: '#7a79d1',
    500: '#2846bc',
    950: '#000000',
  },
}
SCSS
$custom: #2846bc;
$custom-light: #7a79d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2846bc",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 227.838,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45145,
    "c": 0.18829,
    "h": 267.1
  },
  "luminance": 0.08462
}

Semantic roles & 50–950 ramp

primary
#2846BC
secondary
#CBBA75
accent
#C640E8
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2846BC

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

Preview Lab → · Contrast checker → · Palette generator →

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