#2857B9#2857B9

#2857B9 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.3% C 0.164 H 262.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#2857B9
RGBrgb(40, 87, 185)
HSLhsl(221, 64%, 44%)
HSVhsv(221, 78%, 73%)
CMYKcmyk(78.4%, 53%, 0%, 27.5%)
CIE-LABlab(39.19, 19.98, -56.30)
CIE-LCHlch(39.19, 59.74, 289.54°)
OKLaboklab(48.27% -0.0209 -0.1622)
OKLCHoklch(48.27% 0.164 262.6)
XYZxyz(13.0371, 10.7688, 47.2810)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2857B9 #B98A28
analogous
#28A0B9 #2857B9 #4228B9
triadic
#2857B9 #B92857 #57B928
tetradic
#2857B9 #B928A0 #B98A28 #28B942
square
#2857B9 #B928A0 #B98A28 #28B942
split-complementary
#2857B9 #B94228 #A0B928
monochromatic
#122854 #1D3F87 #2857B9 #4776D7 #799BE2

Accessibility & contrast

On white

6.66
#2857B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#2857B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2857B9
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2857B9#FFFFFF#000000##FFFFFF
##2857B91.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)
#0D63BC
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#006F7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2857b9;
/* rgb */ color: rgb(40, 87, 185);
/* oklch */ color: oklch(48.3% 0.164 262.6);
Tailwind
colors: {
  custom: {
    50: '#7885cf',
    500: '#2857b9',
    950: '#000000',
  },
}
SCSS
$custom: #2857b9;
$custom-light: #7885cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2857b9",
  "rgb": {
    "r": 40,
    "g": 87,
    "b": 185
  },
  "hsl": {
    "h": 220.552,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48269,
    "c": 0.16357,
    "h": 262.6
  },
  "luminance": 0.1077
}

Semantic roles & 50–950 ramp

primary
#2857B9
secondary
#CAAE73
accent
#B140E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B14
muted
#7C7C82

Preview Lab

Preview with #2857B9

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

Preview Lab → · Contrast checker → · Palette generator →

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