#2858A2#2858A2

#2858A2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.8% C 0.131 H 258.9°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#2858A2
RGBrgb(40, 88, 162)
HSLhsl(216, 60%, 40%)
HSVhsv(216, 75%, 64%)
CMYKcmyk(75.3%, 45.7%, 0%, 36.5%)
CIE-LABlab(37.91, 10.43, -44.75)
CIE-LCHlch(37.91, 45.95, 283.12°)
OKLaboklab(46.79% -0.0251 -0.1282)
OKLCHoklch(46.79% 0.131 258.9)
XYZxyz(10.8840, 10.0380, 35.5393)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858A2 #A27228
analogous
#2895A2 #2858A2 #3528A2
triadic
#2858A2 #A22858 #58A228
tetradic
#2858A2 #A22895 #A27228 #28A235
square
#2858A2 #A22895 #A27228 #28A235
split-complementary
#2858A2 #A23528 #95A228
monochromatic
#102340 #1C3D71 #2858A2 #3974CE #6A96DA

Accessibility & contrast

On white

6.98
#2858A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2858A2
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2858A2#FFFFFF#000000##FFFFFF
##2858A21.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325FA5
Deuteranopia (green-blind)
#1854A1
Tritanopia (blue-blind)
#006975
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2858a2;
/* rgb */ color: rgb(40, 88, 162);
/* oklch */ color: oklch(46.8% 0.131 258.9);
Tailwind
colors: {
  custom: {
    50: '#7386be',
    500: '#2858a2',
    950: '#000000',
  },
}
SCSS
$custom: #2858a2;
$custom-light: #7386be;
$custom-dark: #000000;
JSON
{
  "hex": "#2858a2",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 162
  },
  "hsl": {
    "h": 216.393,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.46791,
    "c": 0.13067,
    "h": 258.9
  },
  "luminance": 0.10039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2858A2

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

Preview Lab → · Contrast checker → · Palette generator →

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