#2858B3#2858B3

#2858B3 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 48.0% C 0.154 H 261.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#2858B3
RGBrgb(40, 88, 179)
HSLhsl(219, 63%, 43%)
HSVhsv(219, 78%, 70%)
CMYKcmyk(77.7%, 50.8%, 0%, 29.8%)
CIE-LABlab(39.04, 17.01, -53.01)
CIE-LCHlch(39.04, 55.67, 287.79°)
OKLaboklab(48.02% -0.0224 -0.1525)
OKLCHoklch(48.02% 0.154 261.6)
XYZxyz(12.4985, 10.6838, 44.0425)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858B3 #B38328
analogous
#289DB3 #2858B3 #3E28B3
triadic
#2858B3 #B32858 #58B328
tetradic
#2858B3 #B3289D #B38328 #28B33E
square
#2858B3 #B3289D #B38328 #28B33E
split-complementary
#2858B3 #B33E28 #9DB328
monochromatic
#12274F #1D3F81 #2858B3 #4376D5 #759AE0

Accessibility & contrast

On white

6.69
#2858B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#2858B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2858B3
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2858B3#FFFFFF#000000##FFFFFF
##2858B31.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F63B6
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2858b3;
/* rgb */ color: rgb(40, 88, 179);
/* oklch */ color: oklch(48.0% 0.154 261.6);
Tailwind
colors: {
  custom: {
    50: '#7786ca',
    500: '#2858b3',
    950: '#000000',
  },
}
SCSS
$custom: #2858b3;
$custom-light: #7786ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2858b3",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 179
  },
  "hsl": {
    "h": 219.281,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48023,
    "c": 0.15417,
    "h": 261.6
  },
  "luminance": 0.10685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2858B3

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

Preview Lab → · Contrast checker → · Palette generator →

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