#2854AE#2854AE

#2854AE is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.8% C 0.152 H 262.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#2854AE
RGBrgb(40, 84, 174)
HSLhsl(220, 63%, 42%)
HSVhsv(220, 77%, 68%)
CMYKcmyk(77%, 51.7%, 0%, 31.8%)
CIE-LABlab(37.57, 17.72, -52.45)
CIE-LCHlch(37.57, 55.36, 288.67°)
OKLaboklab(46.78% -0.0199 -0.1509)
OKLCHoklch(46.78% 0.152 262.5)
XYZxyz(11.6826, 9.8464, 41.3210)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2854AE #AE8228
analogous
#2897AE #2854AE #3F28AE
triadic
#2854AE #AE2854 #54AE28
tetradic
#2854AE #AE2897 #AE8228 #28AE3F
square
#2854AE #AE2897 #AE8228 #28AE3F
split-complementary
#2854AE #AE3F28 #97AE28
monochromatic
#11244A #1D3C7C #2854AE #4070D3 #7296DF

Accessibility & contrast

On white

7.07
#2854AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#2854AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2854AE#FFFFFF#000000##FFFFFF
##2854AE1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB1
Deuteranopia (green-blind)
#0053AC
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2854ae;
/* rgb */ color: rgb(40, 84, 174);
/* oklch */ color: oklch(46.8% 0.152 262.5);
Tailwind
colors: {
  custom: {
    50: '#7683c7',
    500: '#2854ae',
    950: '#000000',
  },
}
SCSS
$custom: #2854ae;
$custom-light: #7683c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2854ae",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 220.299,
    "s": 62.617,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46784,
    "c": 0.15224,
    "h": 262.5
  },
  "luminance": 0.09848
}

Semantic roles & 50–950 ramp

primary
#2854AE
secondary
#C6A86C
accent
#B042E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2854AE

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

Preview Lab → · Contrast checker → · Palette generator →

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