#2850AE#2850AE

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

Color values

HEX#2850AE
RGBrgb(40, 80, 174)
HSLhsl(222, 63%, 42%)
HSVhsv(222, 77%, 68%)
CMYKcmyk(77%, 54%, 0%, 31.8%)
CIE-LABlab(36.45, 20.37, -54.25)
CIE-LCHlch(36.45, 57.95, 290.58°)
OKLaboklab(45.94% -0.0168 -0.1563)
OKLCHoklch(45.94% 0.157 263.9)
XYZxyz(11.3810, 9.2431, 41.2205)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2850AE #AE8628
analogous
#2893AE #2850AE #4328AE
triadic
#2850AE #AE2850 #50AE28
tetradic
#2850AE #AE2893 #AE8628 #28AE43
square
#2850AE #AE2893 #AE8628 #28AE43
split-complementary
#2850AE #AE4328 #93AE28
monochromatic
#11224A #1D397C #2850AE #406CD3 #7292DF

Accessibility & contrast

On white

7.37
#2850AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2850AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2850AE
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2850AE#FFFFFF#000000##FFFFFF
##2850AE1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035CB1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2850ae;
/* rgb */ color: rgb(40, 80, 174);
/* oklch */ color: oklch(45.9% 0.157 263.9);
Tailwind
colors: {
  custom: {
    50: '#7680c7',
    500: '#2850ae',
    950: '#000000',
  },
}
SCSS
$custom: #2850ae;
$custom-light: #7680c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2850ae",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 174
  },
  "hsl": {
    "h": 222.09,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45936,
    "c": 0.15724,
    "h": 263.9
  },
  "luminance": 0.09244
}

Semantic roles & 50–950 ramp

primary
#2850AE
secondary
#C6AB6C
accent
#B542E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2850AE

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

Preview Lab → · Contrast checker → · Palette generator →

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