#2859B3#2859B3

#2859B3 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.153 H 261.3°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2859B3
RGBrgb(40, 89, 179)
HSLhsl(219, 63%, 43%)
HSVhsv(219, 78%, 70%)
CMYKcmyk(77.7%, 50.3%, 0%, 29.8%)
CIE-LABlab(39.33, 16.35, -52.55)
CIE-LCHlch(39.33, 55.04, 287.28°)
OKLaboklab(48.24% -0.0232 -0.1512)
OKLCHoklch(48.24% 0.153 261.3)
XYZxyz(12.5812, 10.8491, 44.0701)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2859B3 #B38228
analogous
#289EB3 #2859B3 #3D28B3
triadic
#2859B3 #B32859 #59B328
tetradic
#2859B3 #B3289E #B38228 #28B33D
square
#2859B3 #B3289E #B38228 #28B33D
split-complementary
#2859B3 #B33D28 #9EB328
monochromatic
#12274F #1D4081 #2859B3 #4377D5 #759BE0

Accessibility & contrast

On white

6.62
#2859B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2859B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2859B3
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2859B3#FFFFFF#000000##FFFFFF
##2859B31.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2263B6
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2859b3;
/* rgb */ color: rgb(40, 89, 179);
/* oklch */ color: oklch(48.2% 0.153 261.3);
Tailwind
colors: {
  custom: {
    50: '#7787ca',
    500: '#2859b3',
    950: '#000000',
  },
}
SCSS
$custom: #2859b3;
$custom-light: #7787ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2859b3",
  "rgb": {
    "r": 40,
    "g": 89,
    "b": 179
  },
  "hsl": {
    "h": 218.849,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48239,
    "c": 0.15294,
    "h": 261.3
  },
  "luminance": 0.10851
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2859B3

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

Preview Lab → · Contrast checker → · Palette generator →

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