#2854BD#2854BD

#2854BD is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.0% C 0.173 H 263.9°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2854BD
RGBrgb(40, 84, 189)
HSLhsl(222, 65%, 45%)
HSVhsv(222, 79%, 74%)
CMYKcmyk(78.8%, 55.6%, 0%, 25.9%)
CIE-LABlab(38.66, 23.49, -59.49)
CIE-LCHlch(38.66, 63.96, 291.55°)
OKLaboklab(47.96% -0.0184 -0.1717)
OKLCHoklch(47.96% 0.173 263.9)
XYZxyz(13.2274, 10.4643, 49.4569)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2854BD #BD9128
analogous
#289FBD #2854BD #4728BD
triadic
#2854BD #BD2854 #54BD28
tetradic
#2854BD #BD289F #BD9128 #28BD47
square
#2854BD #BD289F #BD9128 #28BD47
split-complementary
#2854BD #BD4728 #9FBD28
monochromatic
#132758 #1D3E8A #2854BD #4A74D9 #7C9BE3

Accessibility & contrast

On white

6.79
#2854BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2854BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2854BD
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2854BD#FFFFFF#000000##FFFFFF
##2854BD1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#006E80
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2854bd;
/* rgb */ color: rgb(40, 84, 189);
/* oklch */ color: oklch(48.0% 0.173 263.9);
Tailwind
colors: {
  custom: {
    50: '#7a83d2',
    500: '#2854bd',
    950: '#000000',
  },
}
SCSS
$custom: #2854bd;
$custom-light: #7a83d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2854bd",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 189
  },
  "hsl": {
    "h": 222.282,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47964,
    "c": 0.17266,
    "h": 263.9
  },
  "luminance": 0.10466
}

Semantic roles & 50–950 ramp

primary
#2854BD
secondary
#CBB275
accent
#B640E8
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2854BD

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

Preview Lab → · Contrast checker → · Palette generator →

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