#2848B5#2848B5

#2848B5 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.177 H 266.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2848B5
RGBrgb(40, 72, 181)
HSLhsl(226, 64%, 43%)
HSVhsv(226, 78%, 71%)
CMYKcmyk(77.9%, 60.2%, 0%, 29%)
CIE-LABlab(34.84, 28.36, -61.01)
CIE-LCHlch(34.84, 67.28, 294.93°)
OKLaboklab(44.9% -0.0107 -0.1763)
OKLCHoklch(44.9% 0.177 266.5)
XYZxyz(11.5300, 8.4207, 44.7248)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848B5 #B59528
analogous
#288EB5 #2848B5 #4E28B5
triadic
#2848B5 #B52848 #48B528
tetradic
#2848B5 #B5288E #B59528 #28B54E
square
#2848B5 #B5288E #B59528 #28B54E
split-complementary
#2848B5 #B54E28 #8EB528
monochromatic
#122051 #1D3483 #2848B5 #4465D6 #778FE1

Accessibility & contrast

On white

7.82
#2848B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2848B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2848B5
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2848B5#FFFFFF#000000##FFFFFF
##2848B51.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004CB3
Tritanopia (blue-blind)
#006477
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2848b5;
/* rgb */ color: rgb(40, 72, 181);
/* oklch */ color: oklch(44.9% 0.177 266.5);
Tailwind
colors: {
  custom: {
    50: '#787acc',
    500: '#2848b5',
    950: '#000000',
  },
}
SCSS
$custom: #2848b5;
$custom-light: #787acc;
$custom-dark: #000000;
JSON
{
  "hex": "#2848b5",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 181
  },
  "hsl": {
    "h": 226.383,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44902,
    "c": 0.17664,
    "h": 266.5
  },
  "luminance": 0.08422
}

Semantic roles & 50–950 ramp

primary
#2848B5
secondary
#C8B470
accent
#C141E7
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2848B5

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

Preview Lab → · Contrast checker → · Palette generator →

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