#2854B9#2854B9

#2854B9 is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.6% C 0.167 H 263.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#2854B9
RGBrgb(40, 84, 185)
HSLhsl(222, 64%, 44%)
HSVhsv(222, 78%, 73%)
CMYKcmyk(78.4%, 54.6%, 0%, 27.5%)
CIE-LABlab(38.36, 21.96, -57.64)
CIE-LCHlch(38.36, 61.68, 290.85°)
OKLaboklab(47.64% -0.0188 -0.1662)
OKLCHoklch(47.64% 0.167 263.6)
XYZxyz(12.7992, 10.2931, 47.2017)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2854B9 #B98D28
analogous
#289DB9 #2854B9 #4528B9
triadic
#2854B9 #B92854 #54B928
tetradic
#2854B9 #B9289D #B98D28 #28B945
square
#2854B9 #B9289D #B98D28 #28B945
split-complementary
#2854B9 #B94528 #9DB928
monochromatic
#122654 #1D3D87 #2854B9 #4773D7 #7999E2

Accessibility & contrast

On white

6.86
#2854B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#2854B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2854B9
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2854B9#FFFFFF#000000##FFFFFF
##2854B91.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#006D7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2854b9;
/* rgb */ color: rgb(40, 84, 185);
/* oklch */ color: oklch(47.6% 0.167 263.6);
Tailwind
colors: {
  custom: {
    50: '#7983cf',
    500: '#2854b9',
    950: '#000000',
  },
}
SCSS
$custom: #2854b9;
$custom-light: #7983cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2854b9",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 185
  },
  "hsl": {
    "h": 221.793,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47643,
    "c": 0.16727,
    "h": 263.6
  },
  "luminance": 0.10295
}

Semantic roles & 50–950 ramp

primary
#2854B9
secondary
#CAB073
accent
#B540E7
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0A14
muted
#7C7C82

Preview Lab

Preview with #2854B9

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

Preview Lab → · Contrast checker → · Palette generator →

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