#2858BD#2858BD

#2858BD is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.8% C 0.168 H 262.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#2858BD
RGBrgb(40, 88, 189)
HSLhsl(221, 65%, 45%)
HSVhsv(221, 79%, 74%)
CMYKcmyk(78.8%, 53.4%, 0%, 25.9%)
CIE-LABlab(39.75, 20.86, -57.72)
CIE-LCHlch(39.75, 61.38, 289.87°)
OKLaboklab(48.79% -0.0213 -0.1664)
OKLCHoklch(48.79% 0.168 262.7)
XYZxyz(13.5468, 11.1031, 49.5634)
Luminance0.1110 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858BD #BD8D28
analogous
#28A3BD #2858BD #4228BD
triadic
#2858BD #BD2858 #58BD28
tetradic
#2858BD #BD28A3 #BD8D28 #28BD42
square
#2858BD #BD28A3 #BD8D28 #28BD42
split-complementary
#2858BD #BD4228 #A3BD28
monochromatic
#132958 #1D408A #2858BD #4A78D9 #7C9DE3

Accessibility & contrast

On white

6.52
#2858BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2858BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2858BD
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2858BD#FFFFFF#000000##FFFFFF
##2858BD1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0665C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#007182
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2858bd;
/* rgb */ color: rgb(40, 88, 189);
/* oklch */ color: oklch(48.8% 0.168 262.7);
Tailwind
colors: {
  custom: {
    50: '#7986d2',
    500: '#2858bd',
    950: '#000000',
  },
}
SCSS
$custom: #2858bd;
$custom-light: #7986d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2858bd",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 189
  },
  "hsl": {
    "h": 220.671,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4879,
    "c": 0.16774,
    "h": 262.7
  },
  "luminance": 0.11105
}

Semantic roles & 50–950 ramp

primary
#2858BD
secondary
#CBB075
accent
#B240E8
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2858BD

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

Preview Lab → · Contrast checker → · Palette generator →

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