#2859AC#2859AC

#2859AC is a mid, vivid blue. Relative luminance 0.106; OKLCH L 47.7% C 0.143 H 260.3°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#2859AC
RGBrgb(40, 89, 172)
HSLhsl(218, 62%, 42%)
HSVhsv(218, 77%, 67%)
CMYKcmyk(76.7%, 48.3%, 0%, 32.5%)
CIE-LABlab(38.85, 13.64, -49.19)
CIE-LCHlch(38.85, 51.04, 285.50°)
OKLaboklab(47.73% -0.0242 -0.1412)
OKLCHoklch(47.73% 0.143 260.3)
XYZxyz(11.8911, 10.5731, 40.4358)
Luminance0.1057 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2859AC #AC7B28
analogous
#289BAC #2859AC #3928AC
triadic
#2859AC #AC2859 #59AC28
tetradic
#2859AC #AC289B #AC7B28 #28AC39
square
#2859AC #AC289B #AC7B28 #28AC39
split-complementary
#2859AC #AC3928 #9BAC28
monochromatic
#112649 #1C3F7A #2859AC #3F76D2 #7199DE

Accessibility & contrast

On white

6.74
#2859AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2859AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2859AC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2859AC#FFFFFF#000000##FFFFFF
##2859AC1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B62AF
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#006D7A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2859ac;
/* rgb */ color: rgb(40, 89, 172);
/* oklch */ color: oklch(47.7% 0.143 260.3);
Tailwind
colors: {
  custom: {
    50: '#7587c5',
    500: '#2859ac',
    950: '#000000',
  },
}
SCSS
$custom: #2859ac;
$custom-light: #7587c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2859ac",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 172
  },
  "hsl": {
    "h": 217.727,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47725,
    "c": 0.14331,
    "h": 260.3
  },
  "luminance": 0.10574
}

Semantic roles & 50–950 ramp

primary
#2859AC
secondary
#C5A36B
accent
#A942E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2859AC

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

Preview Lab → · Contrast checker → · Palette generator →

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