#2848A8#2848A8

#2848A8 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.159 H 266.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#2848A8
RGBrgb(40, 72, 168)
HSLhsl(225, 62%, 41%)
HSVhsv(225, 76%, 66%)
CMYKcmyk(76.2%, 57.1%, 0%, 34.1%)
CIE-LABlab(33.80, 23.40, -54.98)
CIE-LCHlch(33.80, 59.76, 293.06°)
OKLaboklab(43.79% -0.0112 -0.1586)
OKLCHoklch(43.79% 0.159 266)
XYZxyz(10.2578, 7.9119, 38.0247)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848A8 #A88828
analogous
#2888A8 #2848A8 #4828A8
triadic
#2848A8 #A82848 #48A828
tetradic
#2848A8 #A82888 #A88828 #28A848
square
#2848A8 #A82888 #A88828 #28A848
split-complementary
#2848A8 #A84828 #88A828
monochromatic
#101E45 #1C3377 #2848A8 #3D62D1 #6E8ADC

Accessibility & contrast

On white

8.13
#2848A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#2848A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2848A8
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2848A8#FFFFFF#000000##FFFFFF
##2848A81.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#006071
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2848a8;
/* rgb */ color: rgb(40, 72, 168);
/* oklch */ color: oklch(43.8% 0.159 266.0);
Tailwind
colors: {
  custom: {
    50: '#757ac3',
    500: '#2848a8',
    950: '#000000',
  },
}
SCSS
$custom: #2848a8;
$custom-light: #757ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2848a8",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 168
  },
  "hsl": {
    "h": 225,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.43793,
    "c": 0.159,
    "h": 266
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

primary
#2848A8
secondary
#C3AD69
accent
#BC43E5
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2848A8

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

Preview Lab → · Contrast checker → · Palette generator →

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