#2858B7#2858B7

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

Color values

HEX#2858B7
RGBrgb(40, 88, 183)
HSLhsl(220, 64%, 44%)
HSVhsv(220, 78%, 72%)
CMYKcmyk(78.1%, 51.9%, 0%, 28.2%)
CIE-LABlab(39.32, 18.55, -54.91)
CIE-LCHlch(39.32, 57.96, 288.67°)
OKLaboklab(48.33% -0.0219 -0.1581)
OKLCHoklch(48.33% 0.16 262.1)
XYZxyz(12.9090, 10.8480, 46.2041)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858B7 #B78728
analogous
#289FB7 #2858B7 #3F28B7
triadic
#2858B7 #B72858 #58B728
tetradic
#2858B7 #B7289F #B78728 #28B73F
square
#2858B7 #B7289F #B78728 #28B73F
split-complementary
#2858B7 #B73F28 #9FB728
monochromatic
#122853 #1D4085 #2858B7 #4676D6 #789BE1

Accessibility & contrast

On white

6.63
#2858B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2858B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2858B7
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2858B7#FFFFFF#000000##FFFFFF
##2858B71.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1864BA
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2858b7;
/* rgb */ color: rgb(40, 88, 183);
/* oklch */ color: oklch(48.3% 0.160 262.1);
Tailwind
colors: {
  custom: {
    50: '#7886cd',
    500: '#2858b7',
    950: '#000000',
  },
}
SCSS
$custom: #2858b7;
$custom-light: #7886cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2858b7",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 183
  },
  "hsl": {
    "h": 219.86,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48326,
    "c": 0.15962,
    "h": 262.1
  },
  "luminance": 0.10849
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2858B7

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

Preview Lab → · Contrast checker → · Palette generator →

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