#2854AF#2854AF

#2854AF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 46.9% C 0.154 H 262.6°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2854AF
RGBrgb(40, 84, 175)
HSLhsl(220, 63%, 42%)
HSVhsv(220, 77%, 69%)
CMYKcmyk(77.1%, 52%, 0%, 31.4%)
CIE-LABlab(37.64, 18.10, -52.92)
CIE-LCHlch(37.64, 55.93, 288.88°)
OKLaboklab(46.86% -0.0197 -0.1524)
OKLCHoklch(46.86% 0.154 262.6)
XYZxyz(11.7805, 9.8856, 41.8364)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2854AF #AF8328
analogous
#2898AF #2854AF #3F28AF
triadic
#2854AF #AF2854 #54AF28
tetradic
#2854AF #AF2898 #AF8328 #28AF3F
square
#2854AF #AF2898 #AF8328 #28AF3F
split-complementary
#2854AF #AF3F28 #98AF28
monochromatic
#11244B #1D3C7D #2854AF #4171D4 #7396DF

Accessibility & contrast

On white

7.05
#2854AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2854AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2854AF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2854AF#FFFFFF#000000##FFFFFF
##2854AF1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175FB2
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#006A79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2854af;
/* rgb */ color: rgb(40, 84, 175);
/* oklch */ color: oklch(46.9% 0.154 262.6);
Tailwind
colors: {
  custom: {
    50: '#7683c7',
    500: '#2854af',
    950: '#000000',
  },
}
SCSS
$custom: #2854af;
$custom-light: #7683c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2854af",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 220.444,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.46861,
    "c": 0.15362,
    "h": 262.6
  },
  "luminance": 0.09887
}

Semantic roles & 50–950 ramp

primary
#2854AF
secondary
#C6A96D
accent
#B042E6
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2854AF

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

Preview Lab → · Contrast checker → · Palette generator →

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