#2857A0#2857A0

#2857A0 is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.4% C 0.129 H 259.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#2857A0
RGBrgb(40, 87, 160)
HSLhsl(217, 60%, 39%)
HSVhsv(217, 75%, 63%)
CMYKcmyk(75%, 45.6%, 0%, 37.3%)
CIE-LABlab(37.49, 10.31, -44.24)
CIE-LCHlch(37.49, 45.42, 283.12°)
OKLaboklab(46.43% -0.0245 -0.1267)
OKLCHoklch(46.43% 0.129 259)
XYZxyz(10.6261, 9.8044, 34.5833)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2857A0 #A07128
analogous
#2893A0 #2857A0 #3528A0
triadic
#2857A0 #A02857 #57A028
tetradic
#2857A0 #A02893 #A07128 #28A035
square
#2857A0 #A02893 #A07128 #28A035
split-complementary
#2857A0 #A03528 #93A028
monochromatic
#10223E #1C3C6F #2857A0 #3872CD #6995D9

Accessibility & contrast

On white

7.09
#2857A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2857A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2857A0
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2857A0#FFFFFF#000000##FFFFFF
##2857A01.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325EA3
Deuteranopia (green-blind)
#19539F
Tritanopia (blue-blind)
#006873
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2857a0;
/* rgb */ color: rgb(40, 87, 160);
/* oklch */ color: oklch(46.4% 0.129 259.0);
Tailwind
colors: {
  custom: {
    50: '#7385bc',
    500: '#2857a0',
    950: '#000000',
  },
}
SCSS
$custom: #2857a0;
$custom-light: #7385bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2857a0",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 160
  },
  "hsl": {
    "h": 216.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46425,
    "c": 0.12909,
    "h": 259
  },
  "luminance": 0.09806
}

Semantic roles & 50–950 ramp

primary
#2857A0
secondary
#C09C64
accent
#A545E3
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2857A0

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

Preview Lab → · Contrast checker → · Palette generator →

#2857A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva