#2858BC#2858BC

#2858BC is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.166 H 262.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2858BC
RGBrgb(40, 88, 188)
HSLhsl(221, 65%, 45%)
HSVhsv(221, 79%, 74%)
CMYKcmyk(78.7%, 53.2%, 0%, 26.3%)
CIE-LABlab(39.68, 20.48, -57.26)
CIE-LCHlch(39.68, 60.81, 289.68°)
OKLaboklab(48.71% -0.0214 -0.165)
OKLCHoklch(48.71% 0.166 262.6)
XYZxyz(13.4386, 11.0598, 48.9937)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858BC #BC8C28
analogous
#28A2BC #2858BC #4228BC
triadic
#2858BC #BC2858 #58BC28
tetradic
#2858BC #BC28A2 #BC8C28 #28BC42
square
#2858BC #BC28A2 #BC8C28 #28BC42
split-complementary
#2858BC #BC4228 #A2BC28
monochromatic
#132957 #1D408A #2858BC #4977D8 #7B9DE3

Accessibility & contrast

On white

6.54
#2858BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2858BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2858BC
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2858BC#FFFFFF#000000##FFFFFF
##2858BC1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A65C0
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#007081
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2858bc;
/* rgb */ color: rgb(40, 88, 188);
/* oklch */ color: oklch(48.7% 0.166 262.6);
Tailwind
colors: {
  custom: {
    50: '#7986d1',
    500: '#2858bc',
    950: '#000000',
  },
}
SCSS
$custom: #2858bc;
$custom-light: #7986d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2858bc",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 188
  },
  "hsl": {
    "h": 220.541,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48712,
    "c": 0.1664,
    "h": 262.6
  },
  "luminance": 0.11061
}

Semantic roles & 50–950 ramp

primary
#2858BC
secondary
#CBAF75
accent
#B140E8
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2858BC

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

Preview Lab → · Contrast checker → · Palette generator →

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