#2850D1#2850D1

#2850D1 is a mid, highly saturated blue. Relative luminance 0.108; OKLCH L 48.9% C 0.204 H 265.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#2850D1
RGBrgb(40, 80, 209)
HSLhsl(226, 68%, 49%)
HSVhsv(226, 81%, 82%)
CMYKcmyk(80.9%, 61.7%, 0%, 18%)
CIE-LABlab(39.22, 33.65, -70.19)
CIE-LCHlch(39.22, 77.84, 295.61°)
OKLaboklab(48.88% -0.0153 -0.2031)
OKLCHoklch(48.88% 0.204 265.7)
XYZxyz(15.2483, 10.7901, 61.5883)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2850D1 #D1A928
analogous
#28A5D1 #2850D1 #5528D1
triadic
#2850D1 #D12850 #50D128
tetradic
#2850D1 #D128A5 #D1A928 #28D155
square
#2850D1 #D128A5 #D1A928 #28D155
split-complementary
#2850D1 #D15528 #A5D128
monochromatic
#14296A #1E3C9E #2850D1 #5777DF #8BA1E9

Accessibility & contrast

On white

6.65
#2850D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2850D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2850D1
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2850D1#FFFFFF#000000##FFFFFF
##2850D11.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D5
Deuteranopia (green-blind)
#0055CF
Tritanopia (blue-blind)
#007289
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2850d1;
/* rgb */ color: rgb(40, 80, 209);
/* oklch */ color: oklch(48.9% 0.204 265.7);
Tailwind
colors: {
  custom: {
    50: '#7f80e0',
    500: '#2850d1',
    950: '#000000',
  },
}
SCSS
$custom: #2850d1;
$custom-light: #7f80e0;
$custom-dark: #000000;
JSON
{
  "hex": "#2850d1",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 209
  },
  "hsl": {
    "h": 225.799,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48883,
    "c": 0.20369,
    "h": 265.7
  },
  "luminance": 0.10792
}

Semantic roles & 50–950 ramp

primary
#2850D1
secondary
#D3C082
accent
#C23DEB
background
#F8F7FD
surface
#F0EEFB
border
#CBC9D4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #2850D1

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

Preview Lab → · Contrast checker → · Palette generator →

#2850D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva