#2848A2#2848A2

#2848A2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.151 H 265.6°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2848A2
RGBrgb(40, 72, 162)
HSLhsl(224, 60%, 40%)
HSVhsv(224, 75%, 64%)
CMYKcmyk(75.3%, 55.6%, 0%, 36.5%)
CIE-LABlab(33.34, 21.10, -52.14)
CIE-LCHlch(33.34, 56.24, 292.03°)
OKLaboklab(43.3% -0.0116 -0.1502)
OKLCHoklch(43.3% 0.151 265.6)
XYZxyz(9.7117, 7.6934, 35.1486)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848A2 #A28228
analogous
#2885A2 #2848A2 #4528A2
triadic
#2848A2 #A22848 #48A228
tetradic
#2848A2 #A22885 #A28228 #28A245
square
#2848A2 #A22885 #A28228 #28A245
split-complementary
#2848A2 #A24528 #85A228
monochromatic
#101C40 #1C3271 #2848A2 #3960CE #6A88DA

Accessibility & contrast

On white

8.27
#2848A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2848A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2848A2
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2848A2#FFFFFF#000000##FFFFFF
##2848A21.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2848a2;
/* rgb */ color: rgb(40, 72, 162);
/* oklch */ color: oklch(43.3% 0.151 265.6);
Tailwind
colors: {
  custom: {
    50: '#747abe',
    500: '#2848a2',
    950: '#000000',
  },
}
SCSS
$custom: #2848a2;
$custom-light: #747abe;
$custom-dark: #000000;
JSON
{
  "hex": "#2848a2",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 162
  },
  "hsl": {
    "h": 224.262,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43299,
    "c": 0.15068,
    "h": 265.6
  },
  "luminance": 0.07694
}

Semantic roles & 50–950 ramp

primary
#2848A2
secondary
#C1A965
accent
#BA44E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2848A2

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

Preview Lab → · Contrast checker → · Palette generator →

#2848A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva