#2854A3#2854A3

#2854A3 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.0% C 0.137 H 261.0°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#2854A3
RGBrgb(40, 84, 163)
HSLhsl(219, 61%, 40%)
HSVhsv(219, 75%, 64%)
CMYKcmyk(75.5%, 48.5%, 0%, 36.1%)
CIE-LABlab(36.81, 13.46, -47.12)
CIE-LCHlch(36.81, 49.01, 285.94°)
OKLaboklab(45.96% -0.0214 -0.1353)
OKLCHoklch(45.96% 0.137 261)
XYZxyz(10.6539, 9.4349, 35.9029)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2854A3 #A37728
analogous
#2891A3 #2854A3 #3A28A3
triadic
#2854A3 #A32854 #54A328
tetradic
#2854A3 #A32891 #A37728 #28A33A
square
#2854A3 #A32891 #A37728 #28A33A
split-complementary
#2854A3 #A33A28 #91A328
monochromatic
#102141 #1C3B72 #2854A3 #3A6FCF #6B93DB

Accessibility & contrast

On white

7.27
#2854A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2854A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2854A3
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2854A3#FFFFFF#000000##FFFFFF
##2854A31.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA6
Deuteranopia (green-blind)
#0251A1
Tritanopia (blue-blind)
#006773
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2854a3;
/* rgb */ color: rgb(40, 84, 163);
/* oklch */ color: oklch(46.0% 0.137 261.0);
Tailwind
colors: {
  custom: {
    50: '#7383bf',
    500: '#2854a3',
    950: '#000000',
  },
}
SCSS
$custom: #2854a3;
$custom-light: #7383bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2854a3",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 163
  },
  "hsl": {
    "h": 218.537,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.45964,
    "c": 0.13696,
    "h": 261
  },
  "luminance": 0.09436
}

Semantic roles & 50–950 ramp

primary
#2854A3
secondary
#C1A066
accent
#AB44E4
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2854A3

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

Preview Lab → · Contrast checker → · Palette generator →

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