#2846BA#2846BA

#2846BA is a dark, vivid blue. Relative luminance 0.084; OKLCH L 45.0% C 0.186 H 267.1°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2846BA
RGBrgb(40, 70, 186)
HSLhsl(228, 65%, 44%)
HSVhsv(228, 78%, 73%)
CMYKcmyk(78.5%, 62.4%, 0%, 27.1%)
CIE-LABlab(34.75, 31.55, -64.11)
CIE-LCHlch(34.75, 71.45, 296.20°)
OKLaboklab(44.96% -0.0095 -0.1854)
OKLCHoklch(44.96% 0.186 267.1)
XYZxyz(11.9251, 8.3752, 47.4329)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2846BA #BA9C28
analogous
#288FBA #2846BA #5328BA
triadic
#2846BA #BA2846 #46BA28
tetradic
#2846BA #BA288F #BA9C28 #28BA53
square
#2846BA #BA288F #BA9C28 #28BA53
split-complementary
#2846BA #BA5328 #8FBA28
monochromatic
#122055 #1D3388 #2846BA #4865D8 #7A8FE2

Accessibility & contrast

On white

7.85
#2846BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2846BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2846BA
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2846BA#FFFFFF#000000##FFFFFF
##2846BA1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#004BB8
Tritanopia (blue-blind)
#006479
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2846ba;
/* rgb */ color: rgb(40, 70, 186);
/* oklch */ color: oklch(45.0% 0.186 267.1);
Tailwind
colors: {
  custom: {
    50: '#7a79d0',
    500: '#2846ba',
    950: '#000000',
  },
}
SCSS
$custom: #2846ba;
$custom-light: #7a79d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2846ba",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 227.671,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44964,
    "c": 0.18567,
    "h": 267.1
  },
  "luminance": 0.08377
}

Semantic roles & 50–950 ramp

primary
#2846BA
secondary
#CAB873
accent
#C540E8
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2846BA

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

Preview Lab → · Contrast checker → · Palette generator →

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