#2848A7#2848A7

#2848A7 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.7% C 0.158 H 265.9°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#2848A7
RGBrgb(40, 72, 167)
HSLhsl(225, 61%, 41%)
HSVhsv(225, 76%, 65%)
CMYKcmyk(76%, 56.9%, 0%, 34.5%)
CIE-LABlab(33.72, 23.02, -54.51)
CIE-LCHlch(33.72, 59.17, 292.90°)
OKLaboklab(43.71% -0.0112 -0.1572)
OKLCHoklch(43.71% 0.158 265.9)
XYZxyz(10.1650, 7.8747, 37.5360)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848A7 #A78728
analogous
#2887A7 #2848A7 #4728A7
triadic
#2848A7 #A72848 #48A728
tetradic
#2848A7 #A72887 #A78728 #28A747
square
#2848A7 #A72887 #A78728 #28A747
split-complementary
#2848A7 #A74728 #87A728
monochromatic
#101D44 #1C3376 #2848A7 #3C61D0 #6D89DC

Accessibility & contrast

On white

8.15
#2848A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2848A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2848A7
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2848A7#FFFFFF#000000##FFFFFF
##2848A71.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AA
Deuteranopia (green-blind)
#004AA5
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2848a7;
/* rgb */ color: rgb(40, 72, 167);
/* oklch */ color: oklch(43.7% 0.158 265.9);
Tailwind
colors: {
  custom: {
    50: '#757ac2',
    500: '#2848a7',
    950: '#000000',
  },
}
SCSS
$custom: #2848a7;
$custom-light: #757ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#2848a7",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 167
  },
  "hsl": {
    "h": 224.882,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.4371,
    "c": 0.15763,
    "h": 265.9
  },
  "luminance": 0.07876
}

Semantic roles & 50–950 ramp

primary
#2848A7
secondary
#C3AC68
accent
#BC43E4
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2848A7

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

Preview Lab → · Contrast checker → · Palette generator →

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