#2859A2#2859A2

#2859A2 is a mid, vivid blue. Relative luminance 0.102; OKLCH L 47.0% C 0.129 H 258.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#2859A2
RGBrgb(40, 89, 162)
HSLhsl(216, 60%, 40%)
HSVhsv(216, 75%, 64%)
CMYKcmyk(75.3%, 45.1%, 0%, 36.5%)
CIE-LABlab(38.20, 9.77, -44.28)
CIE-LCHlch(38.20, 45.35, 282.45°)
OKLaboklab(47.02% -0.026 -0.1268)
OKLCHoklch(47.02% 0.129 258.4)
XYZxyz(10.9667, 10.2033, 35.5669)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2859A2 #A27128
analogous
#2896A2 #2859A2 #3428A2
triadic
#2859A2 #A22859 #59A228
tetradic
#2859A2 #A22896 #A27128 #28A234
square
#2859A2 #A22896 #A27128 #28A234
split-complementary
#2859A2 #A23428 #96A228
monochromatic
#102340 #1C3E71 #2859A2 #3975CE #6A97DA

Accessibility & contrast

On white

6.91
#2859A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#2859A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2859A2
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2859A2#FFFFFF#000000##FFFFFF
##2859A21.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3460A5
Deuteranopia (green-blind)
#1C55A1
Tritanopia (blue-blind)
#006A75
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2859a2;
/* rgb */ color: rgb(40, 89, 162);
/* oklch */ color: oklch(47.0% 0.129 258.4);
Tailwind
colors: {
  custom: {
    50: '#7387be',
    500: '#2859a2',
    950: '#000000',
  },
}
SCSS
$custom: #2859a2;
$custom-light: #7387be;
$custom-dark: #000000;
JSON
{
  "hex": "#2859a2",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 162
  },
  "hsl": {
    "h": 215.902,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47018,
    "c": 0.12946,
    "h": 258.4
  },
  "luminance": 0.10205
}

Semantic roles & 50–950 ramp

primary
#2859A2
secondary
#C19C65
accent
#A444E4
background
#F7F8FB
surface
#EDEFF7
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2859A2

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

Preview Lab → · Contrast checker → · Palette generator →

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