#2858E2#2858E2

#2858E2 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 51.9% C 0.216 H 264.8°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#2858E2
RGBrgb(40, 88, 226)
HSLhsl(225, 76%, 52%)
HSVhsv(225, 82%, 89%)
CMYKcmyk(82.3%, 61.1%, 0%, 11.4%)
CIE-LABlab(42.64, 34.83, -74.32)
CIE-LCHlch(42.64, 82.08, 295.11°)
OKLaboklab(51.86% -0.0194 -0.2151)
OKLCHoklch(51.86% 0.216 264.8)
XYZxyz(18.0874, 12.9193, 73.4771)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858E2 #E2B228
analogous
#28B5E2 #2858E2 #5528E2
triadic
#2858E2 #E22858 #58E228
tetradic
#2858E2 #E228B5 #E2B228 #28E255
square
#2858E2 #E228B5 #E2B228 #28E255
split-complementary
#2858E2 #E25528 #B5E228
monochromatic
#112D7F #1841B4 #2858E2 #5E82E9 #94ACF1

Accessibility & contrast

On white

5.86
#2858E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#2858E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2858E2
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2858E2#FFFFFF#000000##FFFFFF
##2858E21.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#005CDF
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2858e2;
/* rgb */ color: rgb(40, 88, 226);
/* oklch */ color: oklch(51.9% 0.216 264.8);
Tailwind
colors: {
  custom: {
    50: '#8286ec',
    500: '#2858e2',
    950: '#000000',
  },
}
SCSS
$custom: #2858e2;
$custom-light: #8286ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2858e2",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 226
  },
  "hsl": {
    "h": 224.516,
    "s": 76.23,
    "l": 52.157
  },
  "oklch": {
    "l": 0.5186,
    "c": 0.21599,
    "h": 264.8
  },
  "luminance": 0.12922
}

Semantic roles & 50–950 ramp

primary
#2858E2
secondary
#DCC78A
accent
#C235F3
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #2858E2

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

Preview Lab → · Contrast checker → · Palette generator →

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