#2850B2#2850B2

#2850B2 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.163 H 264.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#2850B2
RGBrgb(40, 80, 178)
HSLhsl(223, 63%, 43%)
HSVhsv(223, 78%, 70%)
CMYKcmyk(77.5%, 55.1%, 0%, 30.2%)
CIE-LABlab(36.75, 21.91, -56.14)
CIE-LCHlch(36.75, 60.27, 291.32°)
OKLaboklab(46.26% -0.0164 -0.1619)
OKLCHoklch(46.26% 0.163 264.2)
XYZxyz(11.7768, 9.4014, 43.3048)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2850B2 #B28A28
analogous
#2895B2 #2850B2 #4528B2
triadic
#2850B2 #B22850 #50B228
tetradic
#2850B2 #B22895 #B28A28 #28B245
square
#2850B2 #B22895 #B28A28 #28B245
split-complementary
#2850B2 #B24528 #95B228
monochromatic
#12234E #1D3A80 #2850B2 #436DD5 #7594E0

Accessibility & contrast

On white

7.29
#2850B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2850B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2850B2#FFFFFF#000000##FFFFFF
##2850B21.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB5
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2850b2;
/* rgb */ color: rgb(40, 80, 178);
/* oklch */ color: oklch(46.3% 0.163 264.2);
Tailwind
colors: {
  custom: {
    50: '#7780ca',
    500: '#2850b2',
    950: '#000000',
  },
}
SCSS
$custom: #2850b2;
$custom-light: #7780ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2850b2",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 178
  },
  "hsl": {
    "h": 222.609,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46255,
    "c": 0.16271,
    "h": 264.2
  },
  "luminance": 0.09403
}

Semantic roles & 50–950 ramp

primary
#2850B2
secondary
#C7AE6F
accent
#B741E6
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2850B2

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

Preview Lab → · Contrast checker → · Palette generator →

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