#2848A4#2848A4

#2848A4 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.5% C 0.153 H 265.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2848A4
RGBrgb(40, 72, 164)
HSLhsl(225, 61%, 40%)
HSVhsv(225, 76%, 64%)
CMYKcmyk(75.6%, 56.1%, 0%, 35.7%)
CIE-LABlab(33.49, 21.87, -53.09)
CIE-LCHlch(33.49, 57.42, 292.39°)
OKLaboklab(43.46% -0.0114 -0.153)
OKLCHoklch(43.46% 0.153 265.7)
XYZxyz(9.8909, 7.7651, 36.0923)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848A4 #A48428
analogous
#2886A4 #2848A4 #4628A4
triadic
#2848A4 #A42848 #48A428
tetradic
#2848A4 #A42886 #A48428 #28A446
square
#2848A4 #A42886 #A48428 #28A446
split-complementary
#2848A4 #A44628 #86A428
monochromatic
#101D42 #1C3273 #2848A4 #3A61CF #6B88DB

Accessibility & contrast

On white

8.22
#2848A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2848A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2848A4
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2848A4#FFFFFF#000000##FFFFFF
##2848A41.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2848a4;
/* rgb */ color: rgb(40, 72, 164);
/* oklch */ color: oklch(43.5% 0.153 265.7);
Tailwind
colors: {
  custom: {
    50: '#747ac0',
    500: '#2848a4',
    950: '#000000',
  },
}
SCSS
$custom: #2848a4;
$custom-light: #747ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2848a4",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 164
  },
  "hsl": {
    "h": 224.516,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.43462,
    "c": 0.15348,
    "h": 265.7
  },
  "luminance": 0.07766
}

Semantic roles & 50–950 ramp

primary
#2848A4
secondary
#C1AA66
accent
#BB44E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2848A4

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

Preview Lab → · Contrast checker → · Palette generator →

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