#2859B2#2859B2

#2859B2 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.2% C 0.152 H 261.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2859B2
RGBrgb(40, 89, 178)
HSLhsl(219, 63%, 43%)
HSVhsv(219, 78%, 70%)
CMYKcmyk(77.5%, 50%, 0%, 30.2%)
CIE-LABlab(39.26, 15.96, -52.08)
CIE-LCHlch(39.26, 54.47, 287.04°)
OKLaboklab(48.16% -0.0233 -0.1498)
OKLCHoklch(48.16% 0.152 261.1)
XYZxyz(12.4804, 10.8088, 43.5394)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2859B2 #B28128
analogous
#289EB2 #2859B2 #3C28B2
triadic
#2859B2 #B22859 #59B228
tetradic
#2859B2 #B2289E #B28128 #28B23C
square
#2859B2 #B2289E #B28128 #28B23C
split-complementary
#2859B2 #B23C28 #9EB228
monochromatic
#12274E #1D4080 #2859B2 #4376D5 #759BE0

Accessibility & contrast

On white

6.64
#2859B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2859B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2859B2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2859B2#FFFFFF#000000##FFFFFF
##2859B21.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2363B5
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#006E7D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2859b2;
/* rgb */ color: rgb(40, 89, 178);
/* oklch */ color: oklch(48.2% 0.152 261.1);
Tailwind
colors: {
  custom: {
    50: '#7787ca',
    500: '#2859b2',
    950: '#000000',
  },
}
SCSS
$custom: #2859b2;
$custom-light: #7787ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2859b2",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 218.696,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48164,
    "c": 0.15157,
    "h": 261.1
  },
  "luminance": 0.1081
}

Semantic roles & 50–950 ramp

primary
#2859B2
secondary
#C7A86F
accent
#AC41E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2859B2

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

Preview Lab → · Contrast checker → · Palette generator →

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