#2858A4#2858A4

#2858A4 is a mid, vivid blue. Relative luminance 0.101; OKLCH L 46.9% C 0.133 H 259.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#2858A4
RGBrgb(40, 88, 164)
HSLhsl(217, 61%, 40%)
HSVhsv(217, 76%, 64%)
CMYKcmyk(75.6%, 46.3%, 0%, 35.7%)
CIE-LABlab(38.04, 11.20, -45.74)
CIE-LCHlch(38.04, 47.09, 283.76°)
OKLaboklab(46.93% -0.0247 -0.1311)
OKLCHoklch(46.93% 0.133 259.3)
XYZxyz(11.0632, 10.1097, 36.4831)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858A4 #A47428
analogous
#2896A4 #2858A4 #3628A4
triadic
#2858A4 #A42858 #58A428
tetradic
#2858A4 #A42896 #A47428 #28A436
square
#2858A4 #A42896 #A47428 #28A436
split-complementary
#2858A4 #A43628 #96A428
monochromatic
#102342 #1C3E73 #2858A4 #3A74CF #6B97DB

Accessibility & contrast

On white

6.95
#2858A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#2858A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2858A4
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2858A4#FFFFFF#000000##FFFFFF
##2858A41.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3060A7
Deuteranopia (green-blind)
#1454A2
Tritanopia (blue-blind)
#006A76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2858a4;
/* rgb */ color: rgb(40, 88, 164);
/* oklch */ color: oklch(46.9% 0.133 259.3);
Tailwind
colors: {
  custom: {
    50: '#7486bf',
    500: '#2858a4',
    950: '#000000',
  },
}
SCSS
$custom: #2858a4;
$custom-light: #7486bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2858a4",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 164
  },
  "hsl": {
    "h": 216.774,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.46931,
    "c": 0.13345,
    "h": 259.3
  },
  "luminance": 0.10111
}

Semantic roles & 50–950 ramp

primary
#2858A4
secondary
#C19E66
accent
#A644E4
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2858A4

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

Preview Lab → · Contrast checker → · Palette generator →

#2858A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva