#2858AA#2858AA

#2858AA is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.4% C 0.142 H 260.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2858AA
RGBrgb(40, 88, 170)
HSLhsl(218, 62%, 41%)
HSVhsv(218, 76%, 67%)
CMYKcmyk(76.5%, 48.2%, 0%, 33.3%)
CIE-LABlab(38.43, 13.53, -48.68)
CIE-LCHlch(38.43, 50.52, 285.53°)
OKLaboklab(47.36% -0.0237 -0.1398)
OKLCHoklch(47.36% 0.142 260.4)
XYZxyz(11.6179, 10.3315, 39.4043)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858AA #AA7A28
analogous
#2899AA #2858AA #3928AA
triadic
#2858AA #AA2858 #58AA28
tetradic
#2858AA #AA2899 #AA7A28 #28AA39
square
#2858AA #AA2899 #AA7A28 #28AA39
split-complementary
#2858AA #AA3928 #99AA28
monochromatic
#112547 #1C3E78 #2858AA #3E74D2 #6F98DD

Accessibility & contrast

On white

6.85
#2858AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2858AA#FFFFFF#000000##FFFFFF
##2858AA1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A61AD
Deuteranopia (green-blind)
#0055A8
Tritanopia (blue-blind)
#006C79
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2858aa;
/* rgb */ color: rgb(40, 88, 170);
/* oklch */ color: oklch(47.4% 0.142 260.4);
Tailwind
colors: {
  custom: {
    50: '#7586c4',
    500: '#2858aa',
    950: '#000000',
  },
}
SCSS
$custom: #2858aa;
$custom-light: #7586c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2858aa",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 170
  },
  "hsl": {
    "h": 217.846,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47359,
    "c": 0.14177,
    "h": 260.4
  },
  "luminance": 0.10333
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2858AA

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

Preview Lab → · Contrast checker → · Palette generator →

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