#2858A7#2858A7

#2858A7 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.1% C 0.138 H 259.9°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#2858A7
RGBrgb(40, 88, 167)
HSLhsl(217, 61%, 41%)
HSVhsv(217, 76%, 65%)
CMYKcmyk(76%, 47.3%, 0%, 34.5%)
CIE-LABlab(38.23, 12.36, -47.22)
CIE-LCHlch(38.23, 48.81, 284.67°)
OKLaboklab(47.14% -0.0242 -0.1355)
OKLCHoklch(47.14% 0.138 259.9)
XYZxyz(11.3373, 10.2193, 37.9267)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858A7 #A77728
analogous
#2897A7 #2858A7 #3728A7
triadic
#2858A7 #A72858 #58A728
tetradic
#2858A7 #A72897 #A77728 #28A737
square
#2858A7 #A72897 #A77728 #28A737
split-complementary
#2858A7 #A73728 #97A728
monochromatic
#102444 #1C3E76 #2858A7 #3C74D0 #6D97DC

Accessibility & contrast

On white

6.90
#2858A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2858A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2858A7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2858A7#FFFFFF#000000##FFFFFF
##2858A71.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E60AA
Deuteranopia (green-blind)
#0C55A5
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2858a7;
/* rgb */ color: rgb(40, 88, 167);
/* oklch */ color: oklch(47.1% 0.138 259.9);
Tailwind
colors: {
  custom: {
    50: '#7486c2',
    500: '#2858a7',
    950: '#000000',
  },
}
SCSS
$custom: #2858a7;
$custom-light: #7486c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2858a7",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 167
  },
  "hsl": {
    "h": 217.323,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47143,
    "c": 0.13762,
    "h": 259.9
  },
  "luminance": 0.10221
}

Semantic roles & 50–950 ramp

primary
#2858A7
secondary
#C3A068
accent
#A843E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2858A7

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

Preview Lab → · Contrast checker → · Palette generator →

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