#2858B0#2858B0

#2858B0 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.150 H 261.3°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#2858B0
RGBrgb(40, 88, 176)
HSLhsl(219, 63%, 42%)
HSVhsv(219, 77%, 69%)
CMYKcmyk(77.3%, 50%, 0%, 31%)
CIE-LABlab(38.84, 15.85, -51.58)
CIE-LCHlch(38.84, 53.95, 287.08°)
OKLaboklab(47.8% -0.0228 -0.1483)
OKLCHoklch(47.8% 0.15 261.3)
XYZxyz(12.1984, 10.5638, 42.4620)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858B0 #B08028
analogous
#289CB0 #2858B0 #3C28B0
triadic
#2858B0 #B02858 #58B028
tetradic
#2858B0 #B0289C #B08028 #28B03C
square
#2858B0 #B0289C #B08028 #28B03C
split-complementary
#2858B0 #B03C28 #9CB028
monochromatic
#11264C #1D3F7E #2858B0 #4175D4 #7399DF

Accessibility & contrast

On white

6.75
#2858B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2858B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2858B0
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2858B0#FFFFFF#000000##FFFFFF
##2858B01.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2362B3
Deuteranopia (green-blind)
#0056AE
Tritanopia (blue-blind)
#006D7B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2858b0;
/* rgb */ color: rgb(40, 88, 176);
/* oklch */ color: oklch(47.8% 0.150 261.3);
Tailwind
colors: {
  custom: {
    50: '#7686c8',
    500: '#2858b0',
    950: '#000000',
  },
}
SCSS
$custom: #2858b0;
$custom-light: #7686c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2858b0",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 176
  },
  "hsl": {
    "h": 218.824,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47799,
    "c": 0.15005,
    "h": 261.3
  },
  "luminance": 0.10565
}

Semantic roles & 50–950 ramp

primary
#2858B0
secondary
#C6A76D
accent
#AC42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2858B0

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

Preview Lab → · Contrast checker → · Palette generator →

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