#2850A3#2850A3

#2850A3 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.1% C 0.142 H 262.7°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#2850A3
RGBrgb(40, 80, 163)
HSLhsl(220, 61%, 40%)
HSVhsv(220, 75%, 64%)
CMYKcmyk(75.5%, 50.9%, 0%, 36.1%)
CIE-LABlab(35.66, 16.12, -48.98)
CIE-LCHlch(35.66, 51.56, 288.22°)
OKLaboklab(45.08% -0.018 -0.1408)
OKLCHoklch(45.08% 0.142 262.7)
XYZxyz(10.3522, 8.8316, 35.8023)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2850A3 #A37B28
analogous
#288DA3 #2850A3 #3E28A3
triadic
#2850A3 #A32850 #50A328
tetradic
#2850A3 #A3288D #A37B28 #28A33E
square
#2850A3 #A3288D #A37B28 #28A33E
split-complementary
#2850A3 #A33E28 #8DA328
monochromatic
#102041 #1C3872 #2850A3 #3A6ACF #6B8FDB

Accessibility & contrast

On white

7.59
#2850A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2850A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2850A3
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2850A3#FFFFFF#000000##FFFFFF
##2850A31.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5AA6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#006472
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2850a3;
/* rgb */ color: rgb(40, 80, 163);
/* oklch */ color: oklch(45.1% 0.142 262.7);
Tailwind
colors: {
  custom: {
    50: '#7480bf',
    500: '#2850a3',
    950: '#000000',
  },
}
SCSS
$custom: #2850a3;
$custom-light: #7480bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2850a3",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 163
  },
  "hsl": {
    "h": 220.488,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45084,
    "c": 0.14195,
    "h": 262.7
  },
  "luminance": 0.08833
}

Semantic roles & 50–950 ramp

primary
#2850A3
secondary
#C1A366
accent
#B044E4
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2850A3

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

Preview Lab → · Contrast checker → · Palette generator →

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