#2850AD#2850AD

#2850AD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.156 H 263.8°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2850AD
RGBrgb(40, 80, 173)
HSLhsl(222, 62%, 42%)
HSVhsv(222, 77%, 68%)
CMYKcmyk(76.9%, 53.8%, 0%, 32.2%)
CIE-LABlab(36.37, 19.99, -53.78)
CIE-LCHlch(36.37, 57.37, 290.39°)
OKLaboklab(45.86% -0.0169 -0.1549)
OKLCHoklch(45.86% 0.156 263.8)
XYZxyz(11.2839, 9.2043, 40.7090)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2850AD #AD8528
analogous
#2893AD #2850AD #4328AD
triadic
#2850AD #AD2850 #50AD28
tetradic
#2850AD #AD2893 #AD8528 #28AD43
square
#2850AD #AD2893 #AD8528 #28AD43
split-complementary
#2850AD #AD4328 #93AD28
monochromatic
#11224A #1D397B #2850AD #3F6CD3 #7192DE

Accessibility & contrast

On white

7.39
#2850AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2850AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2850AD
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2850AD#FFFFFF#000000##FFFFFF
##2850AD1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075CB0
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#006776
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2850ad;
/* rgb */ color: rgb(40, 80, 173);
/* oklch */ color: oklch(45.9% 0.156 263.8);
Tailwind
colors: {
  custom: {
    50: '#7680c6',
    500: '#2850ad',
    950: '#000000',
  },
}
SCSS
$custom: #2850ad;
$custom-light: #7680c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2850ad",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 173
  },
  "hsl": {
    "h": 221.955,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45857,
    "c": 0.15585,
    "h": 263.8
  },
  "luminance": 0.09206
}

Semantic roles & 50–950 ramp

primary
#2850AD
secondary
#C5AA6C
accent
#B442E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2850AD

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

Preview Lab → · Contrast checker → · Palette generator →

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