#2848B0#2848B0

#2848B0 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.5% C 0.170 H 266.3°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2848B0
RGBrgb(40, 72, 176)
HSLhsl(226, 63%, 42%)
HSVhsv(226, 77%, 69%)
CMYKcmyk(77.3%, 59.1%, 0%, 31%)
CIE-LABlab(34.44, 26.46, -58.71)
CIE-LCHlch(34.44, 64.40, 294.26°)
OKLaboklab(44.47% -0.0109 -0.1696)
OKLCHoklch(44.47% 0.17 266.3)
XYZxyz(11.0262, 8.2192, 42.0712)
Luminance0.0822 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848B0 #B09028
analogous
#288CB0 #2848B0 #4C28B0
triadic
#2848B0 #B02848 #48B028
tetradic
#2848B0 #B0288C #B09028 #28B04C
square
#2848B0 #B0288C #B09028 #28B04C
split-complementary
#2848B0 #B04C28 #8CB028
monochromatic
#111F4C #1D347E #2848B0 #4164D4 #738DDF

Accessibility & contrast

On white

7.94
#2848B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2848B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2848B0
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2848B0#FFFFFF#000000##FFFFFF
##2848B01.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#004BAE
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2848b0;
/* rgb */ color: rgb(40, 72, 176);
/* oklch */ color: oklch(44.5% 0.170 266.3);
Tailwind
colors: {
  custom: {
    50: '#777ac8',
    500: '#2848b0',
    950: '#000000',
  },
}
SCSS
$custom: #2848b0;
$custom-light: #777ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2848b0",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 176
  },
  "hsl": {
    "h": 225.882,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.44469,
    "c": 0.16992,
    "h": 266.3
  },
  "luminance": 0.0822
}

Semantic roles & 50–950 ramp

primary
#2848B0
secondary
#C6B16D
accent
#BF42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2848B0

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

Preview Lab → · Contrast checker → · Palette generator →

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