#2850A1#2850A1

#2850A1 is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.139 H 262.5°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2850A1
RGBrgb(40, 80, 161)
HSLhsl(220, 60%, 39%)
HSVhsv(220, 75%, 63%)
CMYKcmyk(75.2%, 50.3%, 0%, 36.9%)
CIE-LABlab(35.52, 15.34, -48.00)
CIE-LCHlch(35.52, 50.40, 287.73°)
OKLaboklab(44.93% -0.0182 -0.1379)
OKLCHoklch(44.93% 0.139 262.5)
XYZxyz(10.1745, 8.7605, 34.8660)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2850A1 #A17928
analogous
#288DA1 #2850A1 #3C28A1
triadic
#2850A1 #A12850 #50A128
tetradic
#2850A1 #A1288D #A17928 #28A13C
square
#2850A1 #A1288D #A17928 #28A13C
split-complementary
#2850A1 #A13C28 #8DA128
monochromatic
#101F3F #1C3870 #2850A1 #396ACE #6A8FDA

Accessibility & contrast

On white

7.63
#2850A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2850A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2850A1
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2850A1#FFFFFF#000000##FFFFFF
##2850A11.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2059A4
Deuteranopia (green-blind)
#004E9F
Tritanopia (blue-blind)
#006371
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2850a1;
/* rgb */ color: rgb(40, 80, 161);
/* oklch */ color: oklch(44.9% 0.139 262.5);
Tailwind
colors: {
  custom: {
    50: '#7380bd',
    500: '#2850a1',
    950: '#000000',
  },
}
SCSS
$custom: #2850a1;
$custom-light: #7380bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2850a1",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 161
  },
  "hsl": {
    "h": 220.165,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.44933,
    "c": 0.13914,
    "h": 262.5
  },
  "luminance": 0.08762
}

Semantic roles & 50–950 ramp

primary
#2850A1
secondary
#C0A265
accent
#AF44E3
background
#F7F7FB
surface
#EDEEF7
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2850A1

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

Preview Lab → · Contrast checker → · Palette generator →

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