#2854A8#2854A8

#2854A8 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.3% C 0.144 H 261.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#2854A8
RGBrgb(40, 84, 168)
HSLhsl(219, 62%, 41%)
HSVhsv(219, 76%, 66%)
CMYKcmyk(76.2%, 50%, 0%, 34.1%)
CIE-LABlab(37.15, 15.39, -49.56)
CIE-LCHlch(37.15, 51.89, 287.26°)
OKLaboklab(46.33% -0.0206 -0.1424)
OKLCHoklch(46.33% 0.144 261.8)
XYZxyz(11.1107, 9.6177, 38.3090)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2854A8 #A87C28
analogous
#2894A8 #2854A8 #3C28A8
triadic
#2854A8 #A82854 #54A828
tetradic
#2854A8 #A82894 #A87C28 #28A83C
square
#2854A8 #A82894 #A87C28 #28A83C
split-complementary
#2854A8 #A83C28 #94A828
monochromatic
#102345 #1C3B77 #2854A8 #3D6FD1 #6E94DC

Accessibility & contrast

On white

7.18
#2854A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2854A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2854A8#FFFFFF#000000##FFFFFF
##2854A81.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225EAB
Deuteranopia (green-blind)
#0052A6
Tritanopia (blue-blind)
#006876
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2854a8;
/* rgb */ color: rgb(40, 84, 168);
/* oklch */ color: oklch(46.3% 0.144 261.8);
Tailwind
colors: {
  custom: {
    50: '#7583c2',
    500: '#2854a8',
    950: '#000000',
  },
}
SCSS
$custom: #2854a8;
$custom-light: #7583c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2854a8",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 168
  },
  "hsl": {
    "h": 219.375,
    "s": 61.538,
    "l": 40.784
  },
  "oklch": {
    "l": 0.46332,
    "c": 0.14394,
    "h": 261.8
  },
  "luminance": 0.09619
}

Semantic roles & 50–950 ramp

primary
#2854A8
secondary
#C3A469
accent
#AD43E5
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2854A8

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

Preview Lab → · Contrast checker → · Palette generator →

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