#2850AB#2850AB

#2850AB is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.7% C 0.153 H 263.6°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#2850AB
RGBrgb(40, 80, 171)
HSLhsl(222, 62%, 41%)
HSVhsv(222, 77%, 67%)
CMYKcmyk(76.6%, 53.2%, 0%, 32.9%)
CIE-LABlab(36.23, 19.21, -52.83)
CIE-LCHlch(36.23, 56.21, 289.99°)
OKLaboklab(45.7% -0.017 -0.1521)
OKLCHoklch(45.7% 0.153 263.6)
XYZxyz(11.0918, 9.1275, 39.6974)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2850AB #AB8328
analogous
#2892AB #2850AB #4228AB
triadic
#2850AB #AB2850 #50AB28
tetradic
#2850AB #AB2892 #AB8328 #28AB42
square
#2850AB #AB2892 #AB8328 #28AB42
split-complementary
#2850AB #AB4228 #92AB28
monochromatic
#112248 #1C3979 #2850AB #3E6BD2 #7091DE

Accessibility & contrast

On white

7.43
#2850AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##2850AB#FFFFFF#000000##FFFFFF
##2850AB1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E5CAE
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#006675
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2850ab;
/* rgb */ color: rgb(40, 80, 171);
/* oklch */ color: oklch(45.7% 0.153 263.6);
Tailwind
colors: {
  custom: {
    50: '#7580c5',
    500: '#2850ab',
    950: '#000000',
  },
}
SCSS
$custom: #2850ab;
$custom-light: #7580c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2850ab",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 171
  },
  "hsl": {
    "h": 221.679,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45699,
    "c": 0.15309,
    "h": 263.6
  },
  "luminance": 0.09129
}

Semantic roles & 50–950 ramp

primary
#2850AB
secondary
#C4A96A
accent
#B443E5
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2850AB

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

Preview Lab → · Contrast checker → · Palette generator →

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