#2858B2#2858B2

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

Color values

HEX#2858B2
RGBrgb(40, 88, 178)
HSLhsl(219, 63%, 43%)
HSVhsv(219, 78%, 70%)
CMYKcmyk(77.5%, 50.6%, 0%, 30.2%)
CIE-LABlab(38.97, 16.62, -52.53)
CIE-LCHlch(38.97, 55.10, 287.56°)
OKLaboklab(47.95% -0.0225 -0.1511)
OKLCHoklch(47.95% 0.153 261.5)
XYZxyz(12.3978, 10.6435, 43.5118)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858B2 #B28228
analogous
#289DB2 #2858B2 #3D28B2
triadic
#2858B2 #B22858 #58B228
tetradic
#2858B2 #B2289D #B28228 #28B23D
square
#2858B2 #B2289D #B28228 #28B23D
split-complementary
#2858B2 #B23D28 #9DB228
monochromatic
#12274E #1D3F80 #2858B2 #4375D5 #759AE0

Accessibility & contrast

On white

6.71
#2858B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#2858B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2858B2
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2858B2#FFFFFF#000000##FFFFFF
##2858B21.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2062B5
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2858b2;
/* rgb */ color: rgb(40, 88, 178);
/* oklch */ color: oklch(47.9% 0.153 261.5);
Tailwind
colors: {
  custom: {
    50: '#7786ca',
    500: '#2858b2',
    950: '#000000',
  },
}
SCSS
$custom: #2858b2;
$custom-light: #7786ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2858b2",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 178
  },
  "hsl": {
    "h": 219.13,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47948,
    "c": 0.15279,
    "h": 261.5
  },
  "luminance": 0.10645
}

Semantic roles & 50–950 ramp

primary
#2858B2
secondary
#C7A86F
accent
#AD41E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2858B2

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

Preview Lab → · Contrast checker → · Palette generator →

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