#2846A7#2846A7

#2846A7 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.3% C 0.160 H 266.5°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#2846A7
RGBrgb(40, 70, 167)
HSLhsl(226, 61%, 41%)
HSVhsv(226, 76%, 65%)
CMYKcmyk(76%, 58.1%, 0%, 34.5%)
CIE-LABlab(33.18, 24.36, -55.39)
CIE-LCHlch(33.18, 60.51, 293.74°)
OKLaboklab(43.3% -0.0098 -0.1598)
OKLCHoklch(43.3% 0.16 266.5)
XYZxyz(10.0378, 7.6204, 37.4936)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2846A7 #A78928
analogous
#2885A7 #2846A7 #4928A7
triadic
#2846A7 #A72846 #46A728
tetradic
#2846A7 #A72885 #A78928 #28A749
square
#2846A7 #A72885 #A78928 #28A749
split-complementary
#2846A7 #A74928 #85A728
monochromatic
#101D44 #1C3176 #2846A7 #3C5FD0 #6D87DC

Accessibility & contrast

On white

8.32
#2846A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2846A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2846A7
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2846A7#FFFFFF#000000##FFFFFF
##2846A71.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AA
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#005E6F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2846a7;
/* rgb */ color: rgb(40, 70, 167);
/* oklch */ color: oklch(43.3% 0.160 266.5);
Tailwind
colors: {
  custom: {
    50: '#7579c2',
    500: '#2846a7',
    950: '#000000',
  },
}
SCSS
$custom: #2846a7;
$custom-light: #7579c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2846a7",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 167
  },
  "hsl": {
    "h": 225.827,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43303,
    "c": 0.16015,
    "h": 266.5
  },
  "luminance": 0.07621
}

Semantic roles & 50–950 ramp

primary
#2846A7
secondary
#C3AD68
accent
#BE43E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2846A7

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

Preview Lab → · Contrast checker → · Palette generator →

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