#2848AD#2848AD

#2848AD is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.2% C 0.166 H 266.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2848AD
RGBrgb(40, 72, 173)
HSLhsl(226, 62%, 42%)
HSVhsv(226, 77%, 68%)
CMYKcmyk(76.9%, 58.4%, 0%, 32.2%)
CIE-LABlab(34.19, 25.32, -57.32)
CIE-LCHlch(34.19, 62.66, 293.83°)
OKLaboklab(44.21% -0.011 -0.1655)
OKLCHoklch(44.21% 0.166 266.2)
XYZxyz(10.7326, 8.1018, 40.5252)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848AD #AD8D28
analogous
#288BAD #2848AD #4B28AD
triadic
#2848AD #AD2848 #48AD28
tetradic
#2848AD #AD288B #AD8D28 #28AD4B
square
#2848AD #AD288B #AD8D28 #28AD4B
split-complementary
#2848AD #AD4B28 #8BAD28
monochromatic
#111F4A #1D337B #2848AD #3F63D3 #718BDE

Accessibility & contrast

On white

8.01
#2848AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2848AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2848AD
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2848AD#FFFFFF#000000##FFFFFF
##2848AD1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B0
Deuteranopia (green-blind)
#004AAB
Tritanopia (blue-blind)
#006173
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2848ad;
/* rgb */ color: rgb(40, 72, 173);
/* oklch */ color: oklch(44.2% 0.166 266.2);
Tailwind
colors: {
  custom: {
    50: '#767ac6',
    500: '#2848ad',
    950: '#000000',
  },
}
SCSS
$custom: #2848ad;
$custom-light: #767ac6;
$custom-dark: #000000;
JSON
{
  "hex": "#2848ad",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 173
  },
  "hsl": {
    "h": 225.564,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44213,
    "c": 0.16585,
    "h": 266.2
  },
  "luminance": 0.08103
}

Semantic roles & 50–950 ramp

primary
#2848AD
secondary
#C5B06C
accent
#BE42E6
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2848AD

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

Preview Lab → · Contrast checker → · Palette generator →

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