#2850AF#2850AF

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

Color values

HEX#2850AF
RGBrgb(40, 80, 175)
HSLhsl(222, 63%, 42%)
HSVhsv(222, 77%, 69%)
CMYKcmyk(77.1%, 54.3%, 0%, 31.4%)
CIE-LABlab(36.52, 20.76, -54.73)
CIE-LCHlch(36.52, 58.53, 290.77°)
OKLaboklab(46.02% -0.0167 -0.1577)
OKLCHoklch(46.02% 0.159 264)
XYZxyz(11.4788, 9.2823, 41.7358)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2850AF #AF8728
analogous
#2894AF #2850AF #4328AF
triadic
#2850AF #AF2850 #50AF28
tetradic
#2850AF #AF2894 #AF8728 #28AF43
square
#2850AF #AF2894 #AF8728 #28AF43
split-complementary
#2850AF #AF4328 #94AF28
monochromatic
#11224B #1D397D #2850AF #416CD4 #7393DF

Accessibility & contrast

On white

7.35
#2850AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2850AF
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2850AF#FFFFFF#000000##FFFFFF
##2850AF1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#006777
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2850af;
/* rgb */ color: rgb(40, 80, 175);
/* oklch */ color: oklch(46.0% 0.159 264.0);
Tailwind
colors: {
  custom: {
    50: '#7680c8',
    500: '#2850af',
    950: '#000000',
  },
}
SCSS
$custom: #2850af;
$custom-light: #7680c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2850af",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 222.222,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46015,
    "c": 0.15861,
    "h": 264
  },
  "luminance": 0.09284
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2850AF

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

Preview Lab → · Contrast checker → · Palette generator →

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