#2858D1#2858D1

#2858D1 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.4% C 0.194 H 264.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#2858D1
RGBrgb(40, 88, 209)
HSLhsl(223, 68%, 49%)
HSVhsv(223, 81%, 82%)
CMYKcmyk(80.9%, 57.9%, 0%, 18%)
CIE-LABlab(41.27, 28.48, -66.85)
CIE-LCHlch(41.27, 72.67, 293.08°)
OKLaboklab(50.41% -0.0199 -0.1932)
OKLCHoklch(50.41% 0.194 264.1)
XYZxyz(15.8693, 12.0321, 61.7953)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858D1 #D1A128
analogous
#28ADD1 #2858D1 #4D28D1
triadic
#2858D1 #D12858 #58D128
tetradic
#2858D1 #D128AD #D1A128 #28D14D
square
#2858D1 #D128AD #D1A128 #28D14D
split-complementary
#2858D1 #D14D28 #ADD128
monochromatic
#142D6A #1E429E #2858D1 #577EDF #8BA5E9

Accessibility & contrast

On white

6.16
#2858D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#2858D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2858D1
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2858D1#FFFFFF#000000##FFFFFF
##2858D11.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#005ACF
Tritanopia (blue-blind)
#00778C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2858d1;
/* rgb */ color: rgb(40, 88, 209);
/* oklch */ color: oklch(50.4% 0.194 264.1);
Tailwind
colors: {
  custom: {
    50: '#7e86e0',
    500: '#2858d1',
    950: '#000000',
  },
}
SCSS
$custom: #2858d1;
$custom-light: #7e86e0;
$custom-dark: #000000;
JSON
{
  "hex": "#2858d1",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 209
  },
  "hsl": {
    "h": 222.959,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.50407,
    "c": 0.19424,
    "h": 264.1
  },
  "luminance": 0.12034
}

Semantic roles & 50–950 ramp

primary
#2858D1
secondary
#D3BC82
accent
#B93DEB
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2858D1

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

Preview Lab → · Contrast checker → · Palette generator →

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