#2848B1#2848B1

#2848B1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.171 H 266.4°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#2848B1
RGBrgb(40, 72, 177)
HSLhsl(226, 63%, 43%)
HSVhsv(226, 77%, 69%)
CMYKcmyk(77.4%, 59.3%, 0%, 30.6%)
CIE-LABlab(34.52, 26.84, -59.17)
CIE-LCHlch(34.52, 64.98, 294.40°)
OKLaboklab(44.56% -0.0108 -0.1709)
OKLCHoklch(44.56% 0.171 266.4)
XYZxyz(11.1255, 8.2589, 42.5942)
Luminance0.0826 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848B1 #B19128
analogous
#288DB1 #2848B1 #4C28B1
triadic
#2848B1 #B12848 #48B128
tetradic
#2848B1 #B1288D #B19128 #28B14C
square
#2848B1 #B1288D #B19128 #28B14C
split-complementary
#2848B1 #B14C28 #8DB128
monochromatic
#111F4D #1D347F #2848B1 #4264D4 #748DE0

Accessibility & contrast

On white

7.92
#2848B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2848B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2848B1
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2848B1#FFFFFF#000000##FFFFFF
##2848B11.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2848b1;
/* rgb */ color: rgb(40, 72, 177);
/* oklch */ color: oklch(44.6% 0.171 266.4);
Tailwind
colors: {
  custom: {
    50: '#777ac9',
    500: '#2848b1',
    950: '#000000',
  },
}
SCSS
$custom: #2848b1;
$custom-light: #777ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#2848b1",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 177
  },
  "hsl": {
    "h": 225.985,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.44555,
    "c": 0.17127,
    "h": 266.4
  },
  "luminance": 0.0826
}

Semantic roles & 50–950 ramp

primary
#2848B1
secondary
#C7B26E
accent
#C042E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2848B1

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

Preview Lab → · Contrast checker → · Palette generator →

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