#2850B3#2850B3

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

Color values

HEX#2850B3
RGBrgb(40, 80, 179)
HSLhsl(223, 63%, 43%)
HSVhsv(223, 78%, 70%)
CMYKcmyk(77.7%, 55.3%, 0%, 29.8%)
CIE-LABlab(36.82, 22.30, -56.61)
CIE-LCHlch(36.82, 60.84, 291.50°)
OKLaboklab(46.34% -0.0163 -0.1633)
OKLCHoklch(46.34% 0.164 264.3)
XYZxyz(11.8775, 9.4418, 43.8355)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2850B3 #B38B28
analogous
#2895B3 #2850B3 #4628B3
triadic
#2850B3 #B32850 #50B328
tetradic
#2850B3 #B32895 #B38B28 #28B346
square
#2850B3 #B32895 #B38B28 #28B346
split-complementary
#2850B3 #B34628 #95B328
monochromatic
#12234F #1D3A81 #2850B3 #436DD5 #7594E0

Accessibility & contrast

On white

7.27
#2850B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2850B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2850B3
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2850B3#FFFFFF#000000##FFFFFF
##2850B31.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0051B1
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2850b3;
/* rgb */ color: rgb(40, 80, 179);
/* oklch */ color: oklch(46.3% 0.164 264.3);
Tailwind
colors: {
  custom: {
    50: '#7780ca',
    500: '#2850b3',
    950: '#000000',
  },
}
SCSS
$custom: #2850b3;
$custom-light: #7780ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2850b3",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 179
  },
  "hsl": {
    "h": 222.734,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.46336,
    "c": 0.16408,
    "h": 264.3
  },
  "luminance": 0.09443
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2850B3

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

Preview Lab → · Contrast checker → · Palette generator →

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