#2858BB#2858BB

#2858BB is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.6% C 0.165 H 262.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2858BB
RGBrgb(40, 88, 187)
HSLhsl(220, 65%, 45%)
HSVhsv(220, 79%, 73%)
CMYKcmyk(78.6%, 52.9%, 0%, 26.7%)
CIE-LABlab(39.61, 20.09, -56.79)
CIE-LCHlch(39.61, 60.24, 289.48°)
OKLaboklab(48.63% -0.0215 -0.1636)
OKLCHoklch(48.63% 0.165 262.5)
XYZxyz(13.3312, 11.0169, 48.4279)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858BB #BB8B28
analogous
#28A2BB #2858BB #4128BB
triadic
#2858BB #BB2858 #58BB28
tetradic
#2858BB #BB28A2 #BB8B28 #28BB41
square
#2858BB #BB28A2 #BB8B28 #28BB41
split-complementary
#2858BB #BB4128 #A2BB28
monochromatic
#122956 #1D4089 #2858BB #4877D8 #7B9DE3

Accessibility & contrast

On white

6.56
#2858BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2858BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2858BB
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2858BB#FFFFFF#000000##FFFFFF
##2858BB1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2858bb;
/* rgb */ color: rgb(40, 88, 187);
/* oklch */ color: oklch(48.6% 0.165 262.5);
Tailwind
colors: {
  custom: {
    50: '#7986d0',
    500: '#2858bb',
    950: '#000000',
  },
}
SCSS
$custom: #2858bb;
$custom-light: #7986d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2858bb",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 187
  },
  "hsl": {
    "h": 220.408,
    "s": 64.758,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48634,
    "c": 0.16505,
    "h": 262.5
  },
  "luminance": 0.11018
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2858BB

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

Preview Lab → · Contrast checker → · Palette generator →

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