#2850AA#2850AA

#2850AA is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.6% C 0.152 H 263.5°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#2850AA
RGBrgb(40, 80, 170)
HSLhsl(222, 62%, 41%)
HSVhsv(222, 76%, 67%)
CMYKcmyk(76.5%, 52.9%, 0%, 33.3%)
CIE-LABlab(36.16, 18.83, -52.35)
CIE-LCHlch(36.16, 55.63, 289.78°)
OKLaboklab(45.62% -0.0171 -0.1507)
OKLCHoklch(45.62% 0.152 263.5)
XYZxyz(10.9968, 9.0895, 39.1973)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2850AA #AA8228
analogous
#2891AA #2850AA #4128AA
triadic
#2850AA #AA2850 #50AA28
tetradic
#2850AA #AA2891 #AA8228 #28AA41
square
#2850AA #AA2891 #AA8228 #28AA41
split-complementary
#2850AA #AA4128 #91AA28
monochromatic
#112147 #1C3978 #2850AA #3E6BD2 #6F91DD

Accessibility & contrast

On white

7.45
#2850AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2850AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2850AA#FFFFFF#000000##FFFFFF
##2850AA1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#105BAD
Deuteranopia (green-blind)
#004FA8
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2850aa;
/* rgb */ color: rgb(40, 80, 170);
/* oklch */ color: oklch(45.6% 0.152 263.5);
Tailwind
colors: {
  custom: {
    50: '#7580c4',
    500: '#2850aa',
    950: '#000000',
  },
}
SCSS
$custom: #2850aa;
$custom-light: #7580c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2850aa",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 170
  },
  "hsl": {
    "h": 221.538,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45621,
    "c": 0.15171,
    "h": 263.5
  },
  "luminance": 0.09091
}

Semantic roles & 50–950 ramp

primary
#2850AA
secondary
#C4A86A
accent
#B343E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2850AA

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

Preview Lab → · Contrast checker → · Palette generator →

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