#2848A3#2848A3

#2848A3 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.4% C 0.152 H 265.7°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2848A3
RGBrgb(40, 72, 163)
HSLhsl(224, 61%, 40%)
HSVhsv(224, 75%, 64%)
CMYKcmyk(75.5%, 55.8%, 0%, 36.1%)
CIE-LABlab(33.41, 21.48, -52.61)
CIE-LCHlch(33.41, 56.83, 292.21°)
OKLaboklab(43.38% -0.0115 -0.1516)
OKLCHoklch(43.38% 0.152 265.7)
XYZxyz(9.8010, 7.7291, 35.6186)
Luminance0.0773 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848A3 #A38328
analogous
#2886A3 #2848A3 #4528A3
triadic
#2848A3 #A32848 #48A328
tetradic
#2848A3 #A32886 #A38328 #28A345
square
#2848A3 #A32886 #A38328 #28A345
split-complementary
#2848A3 #A34528 #86A328
monochromatic
#101D41 #1C3272 #2848A3 #3A60CF #6B88DB

Accessibility & contrast

On white

8.25
#2848A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2848A3
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2848A3#FFFFFF#000000##FFFFFF
##2848A31.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A6
Deuteranopia (green-blind)
#0049A1
Tritanopia (blue-blind)
#005E6E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2848a3;
/* rgb */ color: rgb(40, 72, 163);
/* oklch */ color: oklch(43.4% 0.152 265.7);
Tailwind
colors: {
  custom: {
    50: '#747abf',
    500: '#2848a3',
    950: '#000000',
  },
}
SCSS
$custom: #2848a3;
$custom-light: #747abf;
$custom-dark: #000000;
JSON
{
  "hex": "#2848a3",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 163
  },
  "hsl": {
    "h": 224.39,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4338,
    "c": 0.15208,
    "h": 265.7
  },
  "luminance": 0.0773
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2848A3

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

Preview Lab → · Contrast checker → · Palette generator →

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