#2850AC#2850AC

#2850AC is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.8% C 0.154 H 263.7°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2850AC
RGBrgb(40, 80, 172)
HSLhsl(222, 62%, 42%)
HSVhsv(222, 77%, 67%)
CMYKcmyk(76.7%, 53.5%, 0%, 32.5%)
CIE-LABlab(36.30, 19.60, -53.30)
CIE-LCHlch(36.30, 56.79, 290.19°)
OKLaboklab(45.78% -0.0169 -0.1535)
OKLCHoklch(45.78% 0.154 263.7)
XYZxyz(11.1875, 9.1657, 40.2013)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2850AC #AC8428
analogous
#2892AC #2850AC #4228AC
triadic
#2850AC #AC2850 #50AC28
tetradic
#2850AC #AC2892 #AC8428 #28AC42
square
#2850AC #AC2892 #AC8428 #28AC42
split-complementary
#2850AC #AC4228 #92AC28
monochromatic
#112249 #1C397A #2850AC #3F6CD2 #7192DE

Accessibility & contrast

On white

7.41
#2850AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2850AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2850AC
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2850AC#FFFFFF#000000##FFFFFF
##2850AC1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A5CAF
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2850ac;
/* rgb */ color: rgb(40, 80, 172);
/* oklch */ color: oklch(45.8% 0.154 263.7);
Tailwind
colors: {
  custom: {
    50: '#7680c5',
    500: '#2850ac',
    950: '#000000',
  },
}
SCSS
$custom: #2850ac;
$custom-light: #7680c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2850ac",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 172
  },
  "hsl": {
    "h": 221.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45778,
    "c": 0.15447,
    "h": 263.7
  },
  "luminance": 0.09167
}

Semantic roles & 50–950 ramp

primary
#2850AC
secondary
#C5AA6B
accent
#B442E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2850AC

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

Preview Lab → · Contrast checker → · Palette generator →

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