#2854A6#2854A6

#2854A6 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.2% C 0.141 H 261.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#2854A6
RGBrgb(40, 84, 166)
HSLhsl(219, 61%, 40%)
HSVhsv(219, 76%, 65%)
CMYKcmyk(75.9%, 49.4%, 0%, 34.9%)
CIE-LABlab(37.01, 14.62, -48.59)
CIE-LCHlch(37.01, 50.74, 286.75°)
OKLaboklab(46.18% -0.0209 -0.1396)
OKLCHoklch(46.18% 0.141 261.5)
XYZxyz(10.9259, 9.5437, 37.3353)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2854A6 #A67A28
analogous
#2893A6 #2854A6 #3B28A6
triadic
#2854A6 #A62854 #54A628
tetradic
#2854A6 #A62893 #A67A28 #28A63B
square
#2854A6 #A62893 #A67A28 #28A63B
split-complementary
#2854A6 #A63B28 #93A628
monochromatic
#102243 #1C3B75 #2854A6 #3B6FD0 #6D93DC

Accessibility & contrast

On white

7.22
#2854A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#2854A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2854A6
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2854A6#FFFFFF#000000##FFFFFF
##2854A61.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255DA9
Deuteranopia (green-blind)
#0052A4
Tritanopia (blue-blind)
#006875
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2854a6;
/* rgb */ color: rgb(40, 84, 166);
/* oklch */ color: oklch(46.2% 0.141 261.5);
Tailwind
colors: {
  custom: {
    50: '#7483c1',
    500: '#2854a6',
    950: '#000000',
  },
}
SCSS
$custom: #2854a6;
$custom-light: #7483c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2854a6",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 166
  },
  "hsl": {
    "h": 219.048,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.46184,
    "c": 0.14115,
    "h": 261.5
  },
  "luminance": 0.09545
}

Semantic roles & 50–950 ramp

primary
#2854A6
secondary
#C2A367
accent
#AC44E4
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #2854A6

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

Preview Lab → · Contrast checker → · Palette generator →

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