#2850A8#2850A8

#2850A8 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.5% C 0.149 H 263.3°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#2850A8
RGBrgb(40, 80, 168)
HSLhsl(221, 62%, 41%)
HSVhsv(221, 76%, 66%)
CMYKcmyk(76.2%, 52.4%, 0%, 34.1%)
CIE-LABlab(36.01, 18.05, -51.39)
CIE-LCHlch(36.01, 54.47, 289.36°)
OKLaboklab(45.47% -0.0174 -0.1479)
OKLCHoklch(45.47% 0.149 263.3)
XYZxyz(10.8091, 9.0144, 38.2085)
Luminance0.0902 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2850A8 #A88028
analogous
#2890A8 #2850A8 #4028A8
triadic
#2850A8 #A82850 #50A828
tetradic
#2850A8 #A82890 #A88028 #28A840
square
#2850A8 #A82890 #A88028 #28A840
split-complementary
#2850A8 #A84028 #90A828
monochromatic
#102145 #1C3877 #2850A8 #3D6BD1 #6E90DC

Accessibility & contrast

On white

7.49
#2850A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2850A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2850A8
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2850A8#FFFFFF#000000##FFFFFF
##2850A81.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155BAB
Deuteranopia (green-blind)
#004FA6
Tritanopia (blue-blind)
#006574
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2850a8;
/* rgb */ color: rgb(40, 80, 168);
/* oklch */ color: oklch(45.5% 0.149 263.3);
Tailwind
colors: {
  custom: {
    50: '#7580c2',
    500: '#2850a8',
    950: '#000000',
  },
}
SCSS
$custom: #2850a8;
$custom-light: #7580c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2850a8",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 168
  },
  "hsl": {
    "h": 221.25,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45466,
    "c": 0.14894,
    "h": 263.3
  },
  "luminance": 0.09016
}

Semantic roles & 50–950 ramp

primary
#2850A8
secondary
#C3A769
accent
#B243E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A12
muted
#7C7C81

Preview Lab

Preview with #2850A8

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

Preview Lab → · Contrast checker → · Palette generator →

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