#2854B2#2854B2

#2854B2 is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.1% C 0.158 H 262.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#2854B2
RGBrgb(40, 84, 178)
HSLhsl(221, 63%, 43%)
HSVhsv(221, 78%, 70%)
CMYKcmyk(77.5%, 52.8%, 0%, 30.2%)
CIE-LABlab(37.85, 19.26, -54.35)
CIE-LCHlch(37.85, 57.66, 289.52°)
OKLaboklab(47.09% -0.0194 -0.1565)
OKLCHoklch(47.09% 0.158 262.9)
XYZxyz(12.0784, 10.0047, 43.4054)
Luminance0.1001 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2854B2 #B28628
analogous
#2899B2 #2854B2 #4128B2
triadic
#2854B2 #B22854 #54B228
tetradic
#2854B2 #B22899 #B28628 #28B241
square
#2854B2 #B22899 #B28628 #28B241
split-complementary
#2854B2 #B24128 #99B228
monochromatic
#12254E #1D3C80 #2854B2 #4371D5 #7597E0

Accessibility & contrast

On white

7.00
#2854B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#2854B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2854B2
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2854B2#FFFFFF#000000##FFFFFF
##2854B21.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1060B5
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#006B7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2854b2;
/* rgb */ color: rgb(40, 84, 178);
/* oklch */ color: oklch(47.1% 0.158 262.9);
Tailwind
colors: {
  custom: {
    50: '#7783ca',
    500: '#2854b2',
    950: '#000000',
  },
}
SCSS
$custom: #2854b2;
$custom-light: #7783ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2854b2",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 178
  },
  "hsl": {
    "h": 220.87,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47092,
    "c": 0.15774,
    "h": 262.9
  },
  "luminance": 0.10006
}

Semantic roles & 50–950 ramp

primary
#2854B2
secondary
#C7AB6F
accent
#B241E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2854B2

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

Preview Lab → · Contrast checker → · Palette generator →

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