#2850B7#2850B7

#2850B7 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.7% C 0.170 H 264.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#2850B7
RGBrgb(40, 80, 183)
HSLhsl(223, 64%, 44%)
HSVhsv(223, 78%, 72%)
CMYKcmyk(78.1%, 56.3%, 0%, 28.2%)
CIE-LABlab(37.13, 23.83, -58.47)
CIE-LCHlch(37.13, 63.14, 292.18°)
OKLaboklab(46.66% -0.0161 -0.1687)
OKLCHoklch(46.66% 0.17 264.6)
XYZxyz(12.2879, 9.6059, 45.9971)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2850B7 #B78F28
analogous
#2897B7 #2850B7 #4728B7
triadic
#2850B7 #B72850 #50B728
tetradic
#2850B7 #B72897 #B78F28 #28B747
square
#2850B7 #B72897 #B78F28 #28B747
split-complementary
#2850B7 #B74728 #97B728
monochromatic
#122453 #1D3A85 #2850B7 #466ED6 #7895E1

Accessibility & contrast

On white

7.19
#2850B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2850B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2850B7#FFFFFF#000000##FFFFFF
##2850B71.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBB
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#006A7B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2850b7;
/* rgb */ color: rgb(40, 80, 183);
/* oklch */ color: oklch(46.7% 0.170 264.6);
Tailwind
colors: {
  custom: {
    50: '#7880cd',
    500: '#2850b7',
    950: '#000000',
  },
}
SCSS
$custom: #2850b7;
$custom-light: #7880cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2850b7",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 183
  },
  "hsl": {
    "h": 223.217,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46661,
    "c": 0.1695,
    "h": 264.6
  },
  "luminance": 0.09607
}

Semantic roles & 50–950 ramp

primary
#2850B7
secondary
#C9B172
accent
#B941E7
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2850B7

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

Preview Lab → · Contrast checker → · Palette generator →

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