#2848A5#2848A5

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

Color values

HEX#2848A5
RGBrgb(40, 72, 165)
HSLhsl(225, 61%, 40%)
HSVhsv(225, 76%, 65%)
CMYKcmyk(75.8%, 56.4%, 0%, 35.3%)
CIE-LABlab(33.57, 22.25, -53.56)
CIE-LCHlch(33.57, 58.00, 292.56°)
OKLaboklab(43.54% -0.0114 -0.1544)
OKLCHoklch(43.54% 0.155 265.8)
XYZxyz(9.9816, 7.8014, 36.5698)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848A5 #A58528
analogous
#2886A5 #2848A5 #4628A5
triadic
#2848A5 #A52848 #48A528
tetradic
#2848A5 #A52886 #A58528 #28A546
square
#2848A5 #A52886 #A58528 #28A546
split-complementary
#2848A5 #A54628 #86A528
monochromatic
#101D42 #1C3374 #2848A5 #3B61CF #6C89DB

Accessibility & contrast

On white

8.20
#2848A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2848A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2848A5
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2848A5#FFFFFF#000000##FFFFFF
##2848A51.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2848a5;
/* rgb */ color: rgb(40, 72, 165);
/* oklch */ color: oklch(43.5% 0.155 265.8);
Tailwind
colors: {
  custom: {
    50: '#757ac0',
    500: '#2848a5',
    950: '#000000',
  },
}
SCSS
$custom: #2848a5;
$custom-light: #757ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#2848a5",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 224.64,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43544,
    "c": 0.15487,
    "h": 265.8
  },
  "luminance": 0.07802
}

Semantic roles & 50–950 ramp

primary
#2848A5
secondary
#C2AB67
accent
#BB44E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2848A5

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

Preview Lab → · Contrast checker → · Palette generator →

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