#2854CA#2854CA

#2854CA is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.0% C 0.190 H 264.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#2854CA
RGBrgb(40, 84, 202)
HSLhsl(224, 67%, 47%)
HSVhsv(224, 80%, 79%)
CMYKcmyk(80.2%, 58.4%, 0%, 20.8%)
CIE-LABlab(39.67, 28.44, -65.41)
CIE-LCHlch(39.67, 71.33, 293.50°)
OKLaboklab(49.04% -0.0177 -0.1891)
OKLCHoklch(49.04% 0.19 264.6)
XYZxyz(14.7023, 11.0543, 57.2245)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2854CA #CA9E28
analogous
#28A5CA #2854CA #4D28CA
triadic
#2854CA #CA2854 #54CA28
tetradic
#2854CA #CA28A5 #CA9E28 #28CA4D
square
#2854CA #CA28A5 #CA9E28 #28CA4D
split-complementary
#2854CA #CA4D28 #A5CA28
monochromatic
#142A64 #1E3F97 #2854CA #5278DD #85A0E7

Accessibility & contrast

On white

6.54
#2854CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#2854CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2854CA#FFFFFF#000000##FFFFFF
##2854CA1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CE
Deuteranopia (green-blind)
#0056C8
Tritanopia (blue-blind)
#007287
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2854ca;
/* rgb */ color: rgb(40, 84, 202);
/* oklch */ color: oklch(49.0% 0.190 264.6);
Tailwind
colors: {
  custom: {
    50: '#7d83db',
    500: '#2854ca',
    950: '#000000',
  },
}
SCSS
$custom: #2854ca;
$custom-light: #7d83db;
$custom-dark: #000000;
JSON
{
  "hex": "#2854ca",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 223.704,
    "s": 66.942,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49039,
    "c": 0.1899,
    "h": 264.6
  },
  "luminance": 0.11056
}

Semantic roles & 50–950 ramp

primary
#2854CA
secondary
#D0BA7E
accent
#BB3EEA
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0A15
muted
#7C7C83

Preview Lab

Preview with #2854CA

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

Preview Lab → · Contrast checker → · Palette generator →

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