#2858A3#2858A3

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

Color values

HEX#2858A3
RGBrgb(40, 88, 163)
HSLhsl(217, 61%, 40%)
HSVhsv(217, 75%, 64%)
CMYKcmyk(75.5%, 46%, 0%, 36.1%)
CIE-LABlab(37.97, 10.82, -45.25)
CIE-LCHlch(37.97, 46.52, 283.44°)
OKLaboklab(46.86% -0.0249 -0.1297)
OKLCHoklch(46.86% 0.132 259.1)
XYZxyz(10.9733, 10.0737, 36.0093)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858A3 #A37328
analogous
#2896A3 #2858A3 #3528A3
triadic
#2858A3 #A32858 #58A328
tetradic
#2858A3 #A32896 #A37328 #28A335
square
#2858A3 #A32896 #A37328 #28A335
split-complementary
#2858A3 #A33528 #96A328
monochromatic
#102341 #1C3D72 #2858A3 #3A74CF #6B96DB

Accessibility & contrast

On white

6.97
#2858A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2858A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2858A3
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2858A3#FFFFFF#000000##FFFFFF
##2858A31.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315FA6
Deuteranopia (green-blind)
#1654A1
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2858a3;
/* rgb */ color: rgb(40, 88, 163);
/* oklch */ color: oklch(46.9% 0.132 259.1);
Tailwind
colors: {
  custom: {
    50: '#7386bf',
    500: '#2858a3',
    950: '#000000',
  },
}
SCSS
$custom: #2858a3;
$custom-light: #7386bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2858a3",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 163
  },
  "hsl": {
    "h": 216.585,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.46861,
    "c": 0.13205,
    "h": 259.1
  },
  "luminance": 0.10075
}

Semantic roles & 50–950 ramp

primary
#2858A3
secondary
#C19D66
accent
#A544E4
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2858A3

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

Preview Lab → · Contrast checker → · Palette generator →

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