#2856AA#2856AA

#2856AA is a mid, vivid blue. Relative luminance 0.100; OKLCH L 46.9% C 0.144 H 261.2°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2856AA
RGBrgb(40, 86, 170)
HSLhsl(219, 62%, 41%)
HSVhsv(219, 76%, 67%)
CMYKcmyk(76.5%, 49.4%, 0%, 33.3%)
CIE-LABlab(37.86, 14.84, -49.60)
CIE-LCHlch(37.86, 51.78, 286.66°)
OKLaboklab(46.92% -0.022 -0.1425)
OKLCHoklch(46.92% 0.144 261.2)
XYZxyz(11.4559, 10.0077, 39.3503)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2856AA #AA7C28
analogous
#2897AA #2856AA #3B28AA
triadic
#2856AA #AA2856 #56AA28
tetradic
#2856AA #AA2897 #AA7C28 #28AA3B
square
#2856AA #AA2897 #AA7C28 #28AA3B
split-complementary
#2856AA #AA3B28 #97AA28
monochromatic
#112447 #1C3D78 #2856AA #3E72D2 #6F96DD

Accessibility & contrast

On white

7.00
#2856AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2856AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2856AA
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2856AA#FFFFFF#000000##FFFFFF
##2856AA1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255FAD
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#006A78
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2856aa;
/* rgb */ color: rgb(40, 86, 170);
/* oklch */ color: oklch(46.9% 0.144 261.2);
Tailwind
colors: {
  custom: {
    50: '#7585c4',
    500: '#2856aa',
    950: '#000000',
  },
}
SCSS
$custom: #2856aa;
$custom-light: #7585c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2856aa",
  "rgb": {
    "r": 40,
    "g": 86,
    "b": 170
  },
  "hsl": {
    "h": 218.769,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46918,
    "c": 0.14423,
    "h": 261.2
  },
  "luminance": 0.10009
}

Semantic roles & 50–950 ramp

primary
#2856AA
secondary
#C4A46A
accent
#AC43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2856AA

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

Preview Lab → · Contrast checker → · Palette generator →

#2856AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva