#2858AE#2858AE

#2858AE is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.7% C 0.147 H 261.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#2858AE
RGBrgb(40, 88, 174)
HSLhsl(219, 63%, 42%)
HSVhsv(219, 77%, 68%)
CMYKcmyk(77%, 49.4%, 0%, 31.8%)
CIE-LABlab(38.70, 15.07, -50.61)
CIE-LCHlch(38.70, 52.81, 286.58°)
OKLaboklab(47.65% -0.0231 -0.1455)
OKLCHoklch(47.65% 0.147 261)
XYZxyz(12.0020, 10.4852, 41.4275)
Luminance0.1049 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2858AE #AE7E28
analogous
#289BAE #2858AE #3B28AE
triadic
#2858AE #AE2858 #58AE28
tetradic
#2858AE #AE289B #AE7E28 #28AE3B
square
#2858AE #AE289B #AE7E28 #28AE3B
split-complementary
#2858AE #AE3B28 #9BAE28
monochromatic
#11264A #1D3F7C #2858AE #4075D3 #7299DF

Accessibility & contrast

On white

6.78
#2858AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#2858AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2858AE#FFFFFF#000000##FFFFFF
##2858AE1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2662B1
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2858ae;
/* rgb */ color: rgb(40, 88, 174);
/* oklch */ color: oklch(47.7% 0.147 261.0);
Tailwind
colors: {
  custom: {
    50: '#7686c7',
    500: '#2858ae',
    950: '#000000',
  },
}
SCSS
$custom: #2858ae;
$custom-light: #7686c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2858ae",
  "rgb": {
    "r": 40,
    "g": 88,
    "b": 174
  },
  "hsl": {
    "h": 218.507,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47651,
    "c": 0.1473,
    "h": 261
  },
  "luminance": 0.10487
}

Semantic roles & 50–950 ramp

primary
#2858AE
secondary
#C6A66C
accent
#AB42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2858AE

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

Preview Lab → · Contrast checker → · Palette generator →

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