#2854C0#2854C0

#2854C0 is a mid, vivid blue. Relative luminance 0.106; OKLCH L 48.2% C 0.177 H 264.1°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#2854C0
RGBrgb(40, 84, 192)
HSLhsl(223, 66%, 45%)
HSVhsv(223, 79%, 75%)
CMYKcmyk(79.2%, 56.3%, 0%, 24.7%)
CIE-LABlab(38.89, 24.64, -60.87)
CIE-LCHlch(38.89, 65.67, 292.04°)
OKLaboklab(48.21% -0.0182 -0.1757)
OKLCHoklch(48.21% 0.177 264.1)
XYZxyz(13.5564, 10.5959, 51.1897)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2854C0 #C09428
analogous
#28A0C0 #2854C0 #4828C0
triadic
#2854C0 #C02854 #54C028
tetradic
#2854C0 #C028A0 #C09428 #28C048
square
#2854C0 #C028A0 #C09428 #28C048
split-complementary
#2854C0 #C04828 #A0C028
monochromatic
#13285B #1D3E8D #2854C0 #4C75DA #7E9CE4

Accessibility & contrast

On white

6.73
#2854C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#2854C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2854C0
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2854C0#FFFFFF#000000##FFFFFF
##2854C01.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C4
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#006F82
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #2854c0;
/* rgb */ color: rgb(40, 84, 192);
/* oklch */ color: oklch(48.2% 0.177 264.1);
Tailwind
colors: {
  custom: {
    50: '#7a83d4',
    500: '#2854c0',
    950: '#000000',
  },
}
SCSS
$custom: #2854c0;
$custom-light: #7a83d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2854c0",
  "rgb": {
    "r": 40,
    "g": 84,
    "b": 192
  },
  "hsl": {
    "h": 222.632,
    "s": 65.517,
    "l": 45.49
  },
  "oklch": {
    "l": 0.48208,
    "c": 0.17667,
    "h": 264.1
  },
  "luminance": 0.10598
}

Semantic roles & 50–950 ramp

primary
#2854C0
secondary
#CDB477
accent
#B83FE8
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2854C0

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

Preview Lab → · Contrast checker → · Palette generator →

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