#2859A4#2859A4

#2859A4 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.2% C 0.132 H 258.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#2859A4
RGBrgb(40, 89, 164)
HSLhsl(216, 61%, 40%)
HSVhsv(216, 76%, 64%)
CMYKcmyk(75.6%, 45.7%, 0%, 35.7%)
CIE-LABlab(38.33, 10.55, -45.27)
CIE-LCHlch(38.33, 46.48, 283.11°)
OKLaboklab(47.16% -0.0256 -0.1297)
OKLCHoklch(47.16% 0.132 258.8)
XYZxyz(11.1459, 10.2750, 36.5106)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2859A4 #A47328
analogous
#2897A4 #2859A4 #3528A4
triadic
#2859A4 #A42859 #59A428
tetradic
#2859A4 #A42897 #A47328 #28A435
square
#2859A4 #A42897 #A47328 #28A435
split-complementary
#2859A4 #A43528 #97A428
monochromatic
#102442 #1C3E73 #2859A4 #3A75CF #6B98DB

Accessibility & contrast

On white

6.87
#2859A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2859A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2859A4
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2859A4#FFFFFF#000000##FFFFFF
##2859A41.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3260A7
Deuteranopia (green-blind)
#1855A2
Tritanopia (blue-blind)
#006B76
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2859a4;
/* rgb */ color: rgb(40, 89, 164);
/* oklch */ color: oklch(47.2% 0.132 258.8);
Tailwind
colors: {
  custom: {
    50: '#7387bf',
    500: '#2859a4',
    950: '#000000',
  },
}
SCSS
$custom: #2859a4;
$custom-light: #7387bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2859a4",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 164
  },
  "hsl": {
    "h": 216.29,
    "s": 60.784,
    "l": 40
  },
  "oklch": {
    "l": 0.47157,
    "c": 0.13224,
    "h": 258.8
  },
  "luminance": 0.10276
}

Semantic roles & 50–950 ramp

primary
#2859A4
secondary
#C19D66
accent
#A544E4
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2859A4

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

Preview Lab → · Contrast checker → · Palette generator →

#2859A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva