#2850B0#2850B0

#2850B0 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.160 H 264.0°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#2850B0
RGBrgb(40, 80, 176)
HSLhsl(222, 63%, 42%)
HSVhsv(222, 77%, 69%)
CMYKcmyk(77.3%, 54.5%, 0%, 31%)
CIE-LABlab(36.60, 21.14, -55.20)
CIE-LCHlch(36.60, 59.11, 290.96°)
OKLaboklab(46.1% -0.0166 -0.1591)
OKLCHoklch(46.1% 0.16 264)
XYZxyz(11.5774, 9.3217, 42.2550)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2850B0 #B08828
analogous
#2894B0 #2850B0 #4428B0
triadic
#2850B0 #B02850 #50B028
tetradic
#2850B0 #B02894 #B08828 #28B044
square
#2850B0 #B02894 #B08828 #28B044
split-complementary
#2850B0 #B04428 #94B028
monochromatic
#11234C #1D397E #2850B0 #416CD4 #7393DF

Accessibility & contrast

On white

7.33
#2850B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2850B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2850B0#FFFFFF#000000##FFFFFF
##2850B01.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB3
Deuteranopia (green-blind)
#0050AE
Tritanopia (blue-blind)
#006878
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2850b0;
/* rgb */ color: rgb(40, 80, 176);
/* oklch */ color: oklch(46.1% 0.160 264.0);
Tailwind
colors: {
  custom: {
    50: '#7780c8',
    500: '#2850b0',
    950: '#000000',
  },
}
SCSS
$custom: #2850b0;
$custom-light: #7780c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2850b0",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 176
  },
  "hsl": {
    "h": 222.353,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46095,
    "c": 0.15998,
    "h": 264
  },
  "luminance": 0.09323
}

Semantic roles & 50–950 ramp

primary
#2850B0
secondary
#C6AC6D
accent
#B642E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2850B0

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

Preview Lab → · Contrast checker → · Palette generator →

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