#2848B4#2848B4

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

Color values

HEX#2848B4
RGBrgb(40, 72, 180)
HSLhsl(226, 64%, 43%)
HSVhsv(226, 78%, 71%)
CMYKcmyk(77.8%, 60%, 0%, 29.4%)
CIE-LABlab(34.76, 27.98, -60.55)
CIE-LCHlch(34.76, 66.70, 294.80°)
OKLaboklab(44.82% -0.0108 -0.175)
OKLCHoklch(44.82% 0.175 266.5)
XYZxyz(11.4278, 8.3798, 44.1864)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848B4 #B49428
analogous
#288EB4 #2848B4 #4E28B4
triadic
#2848B4 #B42848 #48B428
tetradic
#2848B4 #B4288E #B49428 #28B44E
square
#2848B4 #B4288E #B49428 #28B44E
split-complementary
#2848B4 #B44E28 #8EB428
monochromatic
#122050 #1D3482 #2848B4 #4465D5 #768EE1

Accessibility & contrast

On white

7.85
#2848B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2848B4
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2848B4#FFFFFF#000000##FFFFFF
##2848B41.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B8
Deuteranopia (green-blind)
#004BB2
Tritanopia (blue-blind)
#006377
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2848b4;
/* rgb */ color: rgb(40, 72, 180);
/* oklch */ color: oklch(44.8% 0.175 266.5);
Tailwind
colors: {
  custom: {
    50: '#787acb',
    500: '#2848b4',
    950: '#000000',
  },
}
SCSS
$custom: #2848b4;
$custom-light: #787acb;
$custom-dark: #000000;
JSON
{
  "hex": "#2848b4",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 180
  },
  "hsl": {
    "h": 226.286,
    "s": 63.636,
    "l": 43.137
  },
  "oklch": {
    "l": 0.44815,
    "c": 0.1753,
    "h": 266.5
  },
  "luminance": 0.08381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2848B4

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

Preview Lab → · Contrast checker → · Palette generator →

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