#2850A2#2850A2

#2850A2 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.0% C 0.141 H 262.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2850A2
RGBrgb(40, 80, 162)
HSLhsl(220, 60%, 40%)
HSVhsv(220, 75%, 64%)
CMYKcmyk(75.3%, 50.6%, 0%, 36.5%)
CIE-LABlab(35.59, 15.73, -48.49)
CIE-LCHlch(35.59, 50.98, 287.97°)
OKLaboklab(45.01% -0.0181 -0.1394)
OKLCHoklch(45.01% 0.141 262.6)
XYZxyz(10.2630, 8.7959, 35.3323)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2850A2 #A27A28
analogous
#288DA2 #2850A2 #3D28A2
triadic
#2850A2 #A22850 #50A228
tetradic
#2850A2 #A2288D #A27A28 #28A23D
square
#2850A2 #A2288D #A27A28 #28A23D
split-complementary
#2850A2 #A23D28 #8DA228
monochromatic
#102040 #1C3871 #2850A2 #396ACE #6A8FDA

Accessibility & contrast

On white

7.61
#2850A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2850A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2850A2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2850A2#FFFFFF#000000##FFFFFF
##2850A21.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5AA5
Deuteranopia (green-blind)
#004EA0
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2850a2;
/* rgb */ color: rgb(40, 80, 162);
/* oklch */ color: oklch(45.0% 0.141 262.6);
Tailwind
colors: {
  custom: {
    50: '#7380be',
    500: '#2850a2',
    950: '#000000',
  },
}
SCSS
$custom: #2850a2;
$custom-light: #7380be;
$custom-dark: #000000;
JSON
{
  "hex": "#2850a2",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 220.328,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.45008,
    "c": 0.14055,
    "h": 262.6
  },
  "luminance": 0.08797
}

Semantic roles & 50–950 ramp

primary
#2850A2
secondary
#C1A365
accent
#AF44E4
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2850A2

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

Preview Lab → · Contrast checker → · Palette generator →

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