#2859B1#2859B1

#2859B1 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.1% C 0.150 H 261.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2859B1
RGBrgb(40, 89, 177)
HSLhsl(219, 63%, 43%)
HSVhsv(219, 77%, 69%)
CMYKcmyk(77.4%, 49.7%, 0%, 30.6%)
CIE-LABlab(39.19, 15.58, -51.60)
CIE-LCHlch(39.19, 53.90, 286.80°)
OKLaboklab(48.09% -0.0235 -0.1483)
OKLCHoklch(48.09% 0.15 261)
XYZxyz(12.3804, 10.7688, 43.0125)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2859B1 #B18028
analogous
#289EB1 #2859B1 #3B28B1
triadic
#2859B1 #B12859 #59B128
tetradic
#2859B1 #B1289E #B18028 #28B13B
square
#2859B1 #B1289E #B18028 #28B13B
split-complementary
#2859B1 #B13B28 #9EB128
monochromatic
#11274D #1D407F #2859B1 #4276D4 #749AE0

Accessibility & contrast

On white

6.66
#2859B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2859B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2859B1
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2859B1#FFFFFF#000000##FFFFFF
##2859B11.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2563B4
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#006E7C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2859b1;
/* rgb */ color: rgb(40, 89, 177);
/* oklch */ color: oklch(48.1% 0.150 261.0);
Tailwind
colors: {
  custom: {
    50: '#7687c9',
    500: '#2859b1',
    950: '#000000',
  },
}
SCSS
$custom: #2859b1;
$custom-light: #7687c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2859b1",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 177
  },
  "hsl": {
    "h": 218.54,
    "s": 63.134,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4809,
    "c": 0.1502,
    "h": 261
  },
  "luminance": 0.1077
}

Semantic roles & 50–950 ramp

primary
#2859B1
secondary
#C7A76E
accent
#AB42E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2859B1

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

Preview Lab → · Contrast checker → · Palette generator →

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