#2848BA#2848BA

#2848BA is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.3% C 0.183 H 266.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#2848BA
RGBrgb(40, 72, 186)
HSLhsl(227, 65%, 44%)
HSVhsv(227, 78%, 73%)
CMYKcmyk(78.5%, 61.3%, 0%, 27.1%)
CIE-LABlab(35.26, 30.24, -63.28)
CIE-LCHlch(35.26, 70.13, 295.55°)
OKLaboklab(45.34% -0.0107 -0.183)
OKLCHoklch(45.34% 0.183 266.7)
XYZxyz(12.0523, 8.6296, 47.4753)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848BA #BA9A28
analogous
#2891BA #2848BA #5128BA
triadic
#2848BA #BA2848 #48BA28
tetradic
#2848BA #BA2891 #BA9A28 #28BA51
square
#2848BA #BA2891 #BA9A28 #28BA51
split-complementary
#2848BA #BA5128 #91BA28
monochromatic
#122155 #1D3588 #2848BA #4867D8 #7A91E2

Accessibility & contrast

On white

7.70
#2848BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#2848BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2848BA
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2848BA#FFFFFF#000000##FFFFFF
##2848BA1.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABE
Deuteranopia (green-blind)
#004CB8
Tritanopia (blue-blind)
#00657A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2848ba;
/* rgb */ color: rgb(40, 72, 186);
/* oklch */ color: oklch(45.3% 0.183 266.7);
Tailwind
colors: {
  custom: {
    50: '#7a7ad0',
    500: '#2848ba',
    950: '#000000',
  },
}
SCSS
$custom: #2848ba;
$custom-light: #7a7ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#2848ba",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 226.849,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45341,
    "c": 0.18327,
    "h": 266.7
  },
  "luminance": 0.08631
}

Semantic roles & 50–950 ramp

primary
#2848BA
secondary
#CAB773
accent
#C340E8
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2848BA

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

Preview Lab → · Contrast checker → · Palette generator →

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