#2850BA#2850BA

#2850BA is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.174 H 264.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#2850BA
RGBrgb(40, 80, 186)
HSLhsl(224, 65%, 44%)
HSVhsv(224, 78%, 73%)
CMYKcmyk(78.5%, 57%, 0%, 27.1%)
CIE-LABlab(37.36, 24.98, -59.86)
CIE-LCHlch(37.36, 64.86, 292.65°)
OKLaboklab(46.91% -0.0159 -0.1728)
OKLCHoklch(46.91% 0.174 264.7)
XYZxyz(12.6035, 9.7322, 47.6591)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2850BA #BA9228
analogous
#2899BA #2850BA #4928BA
triadic
#2850BA #BA2850 #50BA28
tetradic
#2850BA #BA2899 #BA9228 #28BA49
square
#2850BA #BA2899 #BA9228 #28BA49
split-complementary
#2850BA #BA4928 #99BA28
monochromatic
#122555 #1D3A88 #2850BA #486FD8 #7A97E2

Accessibility & contrast

On white

7.13
#2850BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2850BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2850BA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2850BA#FFFFFF#000000##FFFFFF
##2850BA1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#0051B8
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2850ba;
/* rgb */ color: rgb(40, 80, 186);
/* oklch */ color: oklch(46.9% 0.174 264.7);
Tailwind
colors: {
  custom: {
    50: '#7980d0',
    500: '#2850ba',
    950: '#000000',
  },
}
SCSS
$custom: #2850ba;
$custom-light: #7980d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2850ba",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 186
  },
  "hsl": {
    "h": 223.562,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46908,
    "c": 0.17354,
    "h": 264.7
  },
  "luminance": 0.09734
}

Semantic roles & 50–950 ramp

primary
#2850BA
secondary
#CAB373
accent
#BA40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2850BA

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

Preview Lab → · Contrast checker → · Palette generator →

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