#2858B1#2858B1

#2858B1 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.9% C 0.151 H 261.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2858B1
RGBrgb(40, 88, 177)
HSLhsl(219, 63%, 43%)
HSVhsv(219, 77%, 69%)
CMYKcmyk(77.4%, 50.3%, 0%, 30.6%)
CIE-LABlab(38.90, 16.23, -52.05)
CIE-LCHlch(38.90, 54.53, 287.32°)
OKLaboklab(47.87% -0.0227 -0.1497)
OKLCHoklch(47.87% 0.151 261.4)
XYZxyz(12.2977, 10.6035, 42.9850)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858B1 #B18128
analogous
#289DB1 #2858B1 #3C28B1
triadic
#2858B1 #B12858 #58B128
tetradic
#2858B1 #B1289D #B18128 #28B13C
square
#2858B1 #B1289D #B18128 #28B13C
split-complementary
#2858B1 #B13C28 #9DB128
monochromatic
#11264D #1D3F7F #2858B1 #4275D4 #749AE0

Accessibility & contrast

On white

6.73
#2858B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2858B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2858B1
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2858B1#FFFFFF#000000##FFFFFF
##2858B11.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2262B4
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#006D7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2858b1;
/* rgb */ color: rgb(40, 88, 177);
/* oklch */ color: oklch(47.9% 0.151 261.4);
Tailwind
colors: {
  custom: {
    50: '#7686c9',
    500: '#2858b1',
    950: '#000000',
  },
}
SCSS
$custom: #2858b1;
$custom-light: #7686c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2858b1",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 177
  },
  "hsl": {
    "h": 218.978,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47873,
    "c": 0.15143,
    "h": 261.4
  },
  "luminance": 0.10605
}

Semantic roles & 50–950 ramp

primary
#2858B1
secondary
#C7A86E
accent
#AD42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2858B1

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

Preview Lab → · Contrast checker → · Palette generator →

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