#2854D1#2854D1

#2854D1 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.6% C 0.199 H 265.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#2854D1
RGBrgb(40, 84, 209)
HSLhsl(224, 68%, 49%)
HSVhsv(224, 81%, 82%)
CMYKcmyk(80.9%, 59.8%, 0%, 18%)
CIE-LABlab(40.24, 31.07, -68.54)
CIE-LCHlch(40.24, 75.25, 294.39°)
OKLaboklab(49.64% -0.0175 -0.1982)
OKLCHoklch(49.64% 0.199 265)
XYZxyz(15.5499, 11.3934, 61.6888)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2854D1 #D1A528
analogous
#28A9D1 #2854D1 #5128D1
triadic
#2854D1 #D12854 #54D128
tetradic
#2854D1 #D128A9 #D1A528 #28D151
square
#2854D1 #D128A9 #D1A528 #28D151
split-complementary
#2854D1 #D15128 #A9D128
monochromatic
#142B6A #1E3F9E #2854D1 #577BDF #8BA3E9

Accessibility & contrast

On white

6.40
#2854D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2854D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2854D1#FFFFFF#000000##FFFFFF
##2854D11.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D5
Deuteranopia (green-blind)
#0057CF
Tritanopia (blue-blind)
#00748A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2854d1;
/* rgb */ color: rgb(40, 84, 209);
/* oklch */ color: oklch(49.6% 0.199 265.0);
Tailwind
colors: {
  custom: {
    50: '#7e83e0',
    500: '#2854d1',
    950: '#000000',
  },
}
SCSS
$custom: #2854d1;
$custom-light: #7e83e0;
$custom-dark: #000000;
JSON
{
  "hex": "#2854d1",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 209
  },
  "hsl": {
    "h": 224.379,
    "s": 67.871,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49635,
    "c": 0.19899,
    "h": 265
  },
  "luminance": 0.11395
}

Semantic roles & 50–950 ramp

primary
#2854D1
secondary
#D3BE82
accent
#BE3DEB
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0A15
muted
#7D7C83

Preview Lab

Preview with #2854D1

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

Preview Lab → · Contrast checker → · Palette generator →

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