#2859A7#2859A7

#2859A7 is a mid, vivid blue. Relative luminance 0.104; OKLCH L 47.4% C 0.136 H 259.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#2859A7
RGBrgb(40, 89, 167)
HSLhsl(217, 61%, 41%)
HSVhsv(217, 76%, 65%)
CMYKcmyk(76%, 46.7%, 0%, 34.5%)
CIE-LABlab(38.52, 11.71, -46.75)
CIE-LCHlch(38.52, 48.19, 284.06°)
OKLaboklab(47.37% -0.025 -0.1341)
OKLCHoklch(47.37% 0.136 259.4)
XYZxyz(11.4200, 10.3846, 37.9543)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2859A7 #A77628
analogous
#2899A7 #2859A7 #3628A7
triadic
#2859A7 #A72859 #59A728
tetradic
#2859A7 #A72899 #A77628 #28A736
square
#2859A7 #A72899 #A77628 #28A736
split-complementary
#2859A7 #A73628 #99A728
monochromatic
#102444 #1C3F76 #2859A7 #3C75D0 #6D98DC

Accessibility & contrast

On white

6.82
#2859A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#2859A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2859A7
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2859A7#FFFFFF#000000##FFFFFF
##2859A71.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3061AA
Deuteranopia (green-blind)
#1155A5
Tritanopia (blue-blind)
#006B78
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2859a7;
/* rgb */ color: rgb(40, 89, 167);
/* oklch */ color: oklch(47.4% 0.136 259.4);
Tailwind
colors: {
  custom: {
    50: '#7487c2',
    500: '#2859a7',
    950: '#000000',
  },
}
SCSS
$custom: #2859a7;
$custom-light: #7487c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2859a7",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 167
  },
  "hsl": {
    "h": 216.85,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47367,
    "c": 0.1364,
    "h": 259.4
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

primary
#2859A7
secondary
#C3A068
accent
#A643E4
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2859A7

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

Preview Lab → · Contrast checker → · Palette generator →

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