#2858AB#2858AB

#2858AB is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.4% C 0.143 H 260.5°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#2858AB
RGBrgb(40, 88, 171)
HSLhsl(218, 62%, 41%)
HSVhsv(218, 77%, 67%)
CMYKcmyk(76.6%, 48.5%, 0%, 32.9%)
CIE-LABlab(38.50, 13.91, -49.16)
CIE-LCHlch(38.50, 51.09, 285.80°)
OKLaboklab(47.43% -0.0235 -0.1412)
OKLCHoklch(47.43% 0.143 260.5)
XYZxyz(11.7128, 10.3695, 39.9044)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858AB #AB7B28
analogous
#289AAB #2858AB #3A28AB
triadic
#2858AB #AB2858 #58AB28
tetradic
#2858AB #AB289A #AB7B28 #28AB3A
square
#2858AB #AB289A #AB7B28 #28AB3A
split-complementary
#2858AB #AB3A28 #9AAB28
monochromatic
#112548 #1C3E79 #2858AB #3E74D2 #7098DE

Accessibility & contrast

On white

6.83
#2858AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2858AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2858AB
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2858AB#FFFFFF#000000##FFFFFF
##2858AB1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2961AE
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2858ab;
/* rgb */ color: rgb(40, 88, 171);
/* oklch */ color: oklch(47.4% 0.143 260.5);
Tailwind
colors: {
  custom: {
    50: '#7586c4',
    500: '#2858ab',
    950: '#000000',
  },
}
SCSS
$custom: #2858ab;
$custom-light: #7586c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2858ab",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 171
  },
  "hsl": {
    "h": 218.015,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47431,
    "c": 0.14316,
    "h": 260.5
  },
  "luminance": 0.10371
}

Semantic roles & 50–950 ramp

primary
#2858AB
secondary
#C4A36A
accent
#AA43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2858AB

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

Preview Lab → · Contrast checker → · Palette generator →

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