#2848BC#2848BC

#2848BC is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.5% C 0.186 H 266.7°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#2848BC
RGBrgb(40, 72, 188)
HSLhsl(227, 65%, 45%)
HSVhsv(227, 79%, 74%)
CMYKcmyk(78.7%, 61.7%, 0%, 26.3%)
CIE-LABlab(35.43, 30.99, -64.18)
CIE-LCHlch(35.43, 71.27, 295.78°)
OKLaboklab(45.52% -0.0107 -0.1856)
OKLCHoklch(45.52% 0.186 266.7)
XYZxyz(12.2664, 8.7153, 48.6029)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2848BC #BC9C28
analogous
#2892BC #2848BC #5228BC
triadic
#2848BC #BC2848 #48BC28
tetradic
#2848BC #BC2892 #BC9C28 #28BC52
square
#2848BC #BC2892 #BC9C28 #28BC52
split-complementary
#2848BC #BC5228 #92BC28
monochromatic
#132157 #1D358A #2848BC #4968D8 #7B92E3

Accessibility & contrast

On white

7.65
#2848BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2848BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2848BC
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2848BC#FFFFFF#000000##FFFFFF
##2848BC1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#004DBA
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2848bc;
/* rgb */ color: rgb(40, 72, 188);
/* oklch */ color: oklch(45.5% 0.186 266.7);
Tailwind
colors: {
  custom: {
    50: '#7a7ad1',
    500: '#2848bc',
    950: '#000000',
  },
}
SCSS
$custom: #2848bc;
$custom-light: #7a7ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#2848bc",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 227.027,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.45519,
    "c": 0.18591,
    "h": 266.7
  },
  "luminance": 0.08717
}

Semantic roles & 50–950 ramp

primary
#2848BC
secondary
#CBB875
accent
#C440E8
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2848BC

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

Preview Lab → · Contrast checker → · Palette generator →

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