#2848AB#2848AB

#2848AB is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.0% C 0.163 H 266.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2848AB
RGBrgb(40, 72, 171)
HSLhsl(225, 62%, 41%)
HSVhsv(225, 77%, 67%)
CMYKcmyk(76.6%, 57.9%, 0%, 32.9%)
CIE-LABlab(34.03, 24.55, -56.39)
CIE-LCHlch(34.03, 61.50, 293.53°)
OKLaboklab(44.04% -0.011 -0.1627)
OKLCHoklch(44.04% 0.163 266.1)
XYZxyz(10.5405, 8.0249, 39.5136)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848AB #AB8B28
analogous
#288AAB #2848AB #4A28AB
triadic
#2848AB #AB2848 #48AB28
tetradic
#2848AB #AB288A #AB8B28 #28AB4A
square
#2848AB #AB288A #AB8B28 #28AB4A
split-complementary
#2848AB #AB4A28 #8AAB28
monochromatic
#111E48 #1C3379 #2848AB #3E62D2 #708BDE

Accessibility & contrast

On white

8.06
#2848AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2848AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2848AB
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2848AB#FFFFFF#000000##FFFFFF
##2848AB1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AE
Deuteranopia (green-blind)
#004AA9
Tritanopia (blue-blind)
#006172
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2848ab;
/* rgb */ color: rgb(40, 72, 171);
/* oklch */ color: oklch(44.0% 0.163 266.1);
Tailwind
colors: {
  custom: {
    50: '#767ac5',
    500: '#2848ab',
    950: '#000000',
  },
}
SCSS
$custom: #2848ab;
$custom-light: #767ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#2848ab",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 225.344,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.44044,
    "c": 0.16312,
    "h": 266.1
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#2848AB
secondary
#C4AE6A
accent
#BD43E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2848AB

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

Preview Lab → · Contrast checker → · Palette generator →

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