#2854AA#2854AA

#2854AA is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.5% C 0.147 H 262.0°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#2854AA
RGBrgb(40, 84, 170)
HSLhsl(220, 62%, 41%)
HSVhsv(220, 76%, 67%)
CMYKcmyk(76.5%, 50.6%, 0%, 33.3%)
CIE-LABlab(37.29, 16.17, -50.53)
CIE-LCHlch(37.29, 53.05, 287.75°)
OKLaboklab(46.48% -0.0204 -0.1453)
OKLCHoklch(46.48% 0.147 262)
XYZxyz(11.2985, 9.6928, 39.2978)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2854AA #AA7E28
analogous
#2895AA #2854AA #3D28AA
triadic
#2854AA #AA2854 #54AA28
tetradic
#2854AA #AA2895 #AA7E28 #28AA3D
square
#2854AA #AA2895 #AA7E28 #28AA3D
split-complementary
#2854AA #AA3D28 #95AA28
monochromatic
#112347 #1C3C78 #2854AA #3E70D2 #6F94DD

Accessibility & contrast

On white

7.15
#2854AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2854AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2854AA
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2854AA#FFFFFF#000000##FFFFFF
##2854AA1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205EAD
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#006977
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2854aa;
/* rgb */ color: rgb(40, 84, 170);
/* oklch */ color: oklch(46.5% 0.147 262.0);
Tailwind
colors: {
  custom: {
    50: '#7583c4',
    500: '#2854aa',
    950: '#000000',
  },
}
SCSS
$custom: #2854aa;
$custom-light: #7583c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2854aa",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 170
  },
  "hsl": {
    "h": 219.692,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46482,
    "c": 0.14671,
    "h": 262
  },
  "luminance": 0.09694
}

Semantic roles & 50–950 ramp

primary
#2854AA
secondary
#C4A56A
accent
#AE43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2854AA

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

Preview Lab → · Contrast checker → · Palette generator →

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