#2850B5#2850B5

#2850B5 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.167 H 264.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#2850B5
RGBrgb(40, 80, 181)
HSLhsl(223, 64%, 43%)
HSVhsv(223, 78%, 71%)
CMYKcmyk(77.9%, 55.8%, 0%, 29%)
CIE-LABlab(36.97, 23.07, -57.54)
CIE-LCHlch(36.97, 61.99, 291.84°)
OKLaboklab(46.5% -0.0162 -0.166)
OKLCHoklch(46.5% 0.167 264.4)
XYZxyz(12.0813, 9.5232, 44.9085)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2850B5 #B58D28
analogous
#2896B5 #2850B5 #4728B5
triadic
#2850B5 #B52850 #50B528
tetradic
#2850B5 #B52896 #B58D28 #28B547
square
#2850B5 #B52896 #B58D28 #28B547
split-complementary
#2850B5 #B54728 #96B528
monochromatic
#122451 #1D3A83 #2850B5 #446ED6 #7795E1

Accessibility & contrast

On white

7.23
#2850B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2850B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2850B5#FFFFFF#000000##FFFFFF
##2850B51.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2850b5;
/* rgb */ color: rgb(40, 80, 181);
/* oklch */ color: oklch(46.5% 0.167 264.4);
Tailwind
colors: {
  custom: {
    50: '#7880cc',
    500: '#2850b5',
    950: '#000000',
  },
}
SCSS
$custom: #2850b5;
$custom-light: #7880cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2850b5",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 181
  },
  "hsl": {
    "h": 222.979,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46498,
    "c": 0.1668,
    "h": 264.4
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#2850B5
secondary
#C8AF70
accent
#B841E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2850B5

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

Preview Lab → · Contrast checker → · Palette generator →

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