#2854AC#2854AC

#2854AC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 46.6% C 0.149 H 262.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2854AC
RGBrgb(40, 84, 172)
HSLhsl(220, 62%, 42%)
HSVhsv(220, 77%, 67%)
CMYKcmyk(76.7%, 51.2%, 0%, 32.5%)
CIE-LABlab(37.42, 16.94, -51.49)
CIE-LCHlch(37.42, 54.20, 288.21°)
OKLaboklab(46.63% -0.0201 -0.1481)
OKLCHoklch(46.63% 0.149 262.3)
XYZxyz(11.4891, 9.7690, 40.3018)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2854AC #AC8028
analogous
#2896AC #2854AC #3E28AC
triadic
#2854AC #AC2854 #54AC28
tetradic
#2854AC #AC2896 #AC8028 #28AC3E
square
#2854AC #AC2896 #AC8028 #28AC3E
split-complementary
#2854AC #AC3E28 #96AC28
monochromatic
#112449 #1C3C7A #2854AC #3F70D2 #7195DE

Accessibility & contrast

On white

7.11
#2854AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2854AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2854AC#FFFFFF#000000##FFFFFF
##2854AC1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5EAF
Deuteranopia (green-blind)
#0052AA
Tritanopia (blue-blind)
#006978
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2854ac;
/* rgb */ color: rgb(40, 84, 172);
/* oklch */ color: oklch(46.6% 0.149 262.3);
Tailwind
colors: {
  custom: {
    50: '#7583c5',
    500: '#2854ac',
    950: '#000000',
  },
}
SCSS
$custom: #2854ac;
$custom-light: #7583c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2854ac",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 172
  },
  "hsl": {
    "h": 220,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46632,
    "c": 0.14948,
    "h": 262.3
  },
  "luminance": 0.0977
}

Semantic roles & 50–950 ramp

primary
#2854AC
secondary
#C5A76B
accent
#AF42E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2854AC

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

Preview Lab → · Contrast checker → · Palette generator →

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