#2858B6#2858B6

#2858B6 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.158 H 262.0°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2858B6
RGBrgb(40, 88, 182)
HSLhsl(220, 64%, 44%)
HSVhsv(220, 78%, 71%)
CMYKcmyk(78%, 51.6%, 0%, 28.6%)
CIE-LABlab(39.25, 18.16, -54.43)
CIE-LCHlch(39.25, 57.39, 288.45°)
OKLaboklab(48.25% -0.022 -0.1567)
OKLCHoklch(48.25% 0.158 262)
XYZxyz(12.8053, 10.8065, 45.6579)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858B6 #B68628
analogous
#289FB6 #2858B6 #3F28B6
triadic
#2858B6 #B62858 #58B628
tetradic
#2858B6 #B6289F #B68628 #28B63F
square
#2858B6 #B6289F #B68628 #28B63F
split-complementary
#2858B6 #B63F28 #9FB628
monochromatic
#122752 #1D4084 #2858B6 #4576D6 #779BE1

Accessibility & contrast

On white

6.64
#2858B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2858B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2858B6
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2858B6#FFFFFF#000000##FFFFFF
##2858B61.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A63B9
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#006F7E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2858b6;
/* rgb */ color: rgb(40, 88, 182);
/* oklch */ color: oklch(48.3% 0.158 262.0);
Tailwind
colors: {
  custom: {
    50: '#7886cd',
    500: '#2858b6',
    950: '#000000',
  },
}
SCSS
$custom: #2858b6;
$custom-light: #7886cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2858b6",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 182
  },
  "hsl": {
    "h": 219.718,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.4825,
    "c": 0.15826,
    "h": 262
  },
  "luminance": 0.10808
}

Semantic roles & 50–950 ramp

primary
#2858B6
secondary
#C9AB71
accent
#AF41E7
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2858B6

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

Preview Lab → · Contrast checker → · Palette generator →

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