#2859AD#2859AD

#2859AD is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.8% C 0.145 H 260.4°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2859AD
RGBrgb(40, 89, 173)
HSLhsl(218, 62%, 42%)
HSVhsv(218, 77%, 68%)
CMYKcmyk(76.9%, 48.6%, 0%, 32.2%)
CIE-LABlab(38.92, 14.03, -49.67)
CIE-LCHlch(38.92, 51.61, 285.77°)
OKLaboklab(47.8% -0.0241 -0.1427)
OKLCHoklch(47.8% 0.145 260.4)
XYZxyz(11.9875, 10.6116, 40.9435)
Luminance0.1061 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2859AD #AD7C28
analogous
#289CAD #2859AD #3A28AD
triadic
#2859AD #AD2859 #59AD28
tetradic
#2859AD #AD289C #AD7C28 #28AD3A
square
#2859AD #AD289C #AD7C28 #28AD3A
split-complementary
#2859AD #AD3A28 #9CAD28
monochromatic
#11264A #1D3F7B #2859AD #3F76D3 #7199DE

Accessibility & contrast

On white

6.73
#2859AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2859AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2859AD
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2859AD#FFFFFF#000000##FFFFFF
##2859AD1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A62B0
Deuteranopia (green-blind)
#0056AB
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2859ad;
/* rgb */ color: rgb(40, 89, 173);
/* oklch */ color: oklch(47.8% 0.145 260.4);
Tailwind
colors: {
  custom: {
    50: '#7687c6',
    500: '#2859ad',
    950: '#000000',
  },
}
SCSS
$custom: #2859ad;
$custom-light: #7687c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2859ad",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 173
  },
  "hsl": {
    "h": 217.895,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47797,
    "c": 0.14469,
    "h": 260.4
  },
  "luminance": 0.10613
}

Semantic roles & 50–950 ramp

primary
#2859AD
secondary
#C5A46C
accent
#A942E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2859AD

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

Preview Lab → · Contrast checker → · Palette generator →

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