#2846A8#2846A8

#2846A8 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.162 H 266.6°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2846A8
RGBrgb(40, 70, 168)
HSLhsl(226, 62%, 41%)
HSVhsv(226, 76%, 66%)
CMYKcmyk(76.2%, 58.3%, 0%, 34.1%)
CIE-LABlab(33.26, 24.74, -55.86)
CIE-LCHlch(33.26, 61.09, 293.89°)
OKLaboklab(43.39% -0.0097 -0.1612)
OKLCHoklch(43.39% 0.162 266.6)
XYZxyz(10.1306, 7.6575, 37.9823)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2846A8 #A88A28
analogous
#2886A8 #2846A8 #4A28A8
triadic
#2846A8 #A82846 #46A828
tetradic
#2846A8 #A82886 #A88A28 #28A84A
square
#2846A8 #A82886 #A88A28 #28A84A
split-complementary
#2846A8 #A84A28 #86A828
monochromatic
#101D45 #1C3177 #2846A8 #3D5FD1 #6E88DC

Accessibility & contrast

On white

8.29
#2846A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2846A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2846A8
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2846A8#FFFFFF#000000##FFFFFF
##2846A81.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#005E70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2846a8;
/* rgb */ color: rgb(40, 70, 168);
/* oklch */ color: oklch(43.4% 0.162 266.6);
Tailwind
colors: {
  custom: {
    50: '#7579c3',
    500: '#2846a8',
    950: '#000000',
  },
}
SCSS
$custom: #2846a8;
$custom-light: #7579c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2846a8",
  "rgb": {
    "r": 40,
    "g": 70,
    "b": 168
  },
  "hsl": {
    "h": 225.938,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43388,
    "c": 0.16152,
    "h": 266.6
  },
  "luminance": 0.07659
}

Semantic roles & 50–950 ramp

primary
#2846A8
secondary
#C3AE69
accent
#BF43E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2846A8

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

Preview Lab → · Contrast checker → · Palette generator →

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