#2850BD#2850BD

#2850BD is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.2% C 0.178 H 264.9°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#2850BD
RGBrgb(40, 80, 189)
HSLhsl(224, 65%, 45%)
HSVhsv(224, 79%, 74%)
CMYKcmyk(78.8%, 57.7%, 0%, 25.9%)
CIE-LABlab(37.59, 26.12, -61.24)
CIE-LCHlch(37.59, 66.58, 293.10°)
OKLaboklab(47.16% -0.0157 -0.1769)
OKLCHoklch(47.16% 0.178 264.9)
XYZxyz(12.9258, 9.8611, 49.3564)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2850BD #BD9528
analogous
#289ABD #2850BD #4B28BD
triadic
#2850BD #BD2850 #50BD28
tetradic
#2850BD #BD289A #BD9528 #28BD4B
square
#2850BD #BD289A #BD9528 #28BD4B
split-complementary
#2850BD #BD4B28 #9ABD28
monochromatic
#132558 #1D3B8A #2850BD #4A70D9 #7C98E3

Accessibility & contrast

On white

7.06
#2850BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2850BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2850BD
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2850BD#FFFFFF#000000##FFFFFF
##2850BD1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2850bd;
/* rgb */ color: rgb(40, 80, 189);
/* oklch */ color: oklch(47.2% 0.178 264.9);
Tailwind
colors: {
  custom: {
    50: '#7a80d2',
    500: '#2850bd',
    950: '#000000',
  },
}
SCSS
$custom: #2850bd;
$custom-light: #7a80d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2850bd",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 189
  },
  "hsl": {
    "h": 223.893,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47158,
    "c": 0.17756,
    "h": 264.9
  },
  "luminance": 0.09863
}

Semantic roles & 50–950 ramp

primary
#2850BD
secondary
#CBB475
accent
#BB40E8
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2850BD

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

Preview Lab → · Contrast checker → · Palette generator →

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