#2827C5#2827C5

#2827C5 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.3% C 0.231 H 270.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2827C5
RGBrgb(40, 39, 197)
HSLhsl(240, 67%, 46%)
HSVhsv(240, 80%, 77%)
CMYKcmyk(79.7%, 80.2%, 0%, 22.7%)
CIE-LABlab(29.24, 53.55, -79.66)
CIE-LCHlch(29.24, 95.99, 303.91°)
OKLaboklab(41.33% 0.0021 -0.2306)
OKLCHoklch(41.33% 0.231 270.5)
XYZxyz(11.6752, 5.9320, 53.3422)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2827C5 #C4C527
analogous
#2775C5 #2827C5 #7727C5
triadic
#2827C5 #C52827 #27C528
tetradic
#2827C5 #C52775 #C4C527 #27C577
square
#2827C5 #C52775 #C4C527 #27C577
split-complementary
#2827C5 #C57727 #75C527
monochromatic
#13135F #1E1D92 #2827C5 #4E4DDC #8180E6

Accessibility & contrast

On white

9.60
#2827C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2827C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2827C5
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2827C5#FFFFFF#000000##FFFFFF
##2827C51.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC9
Deuteranopia (green-blind)
#003DC2
Tritanopia (blue-blind)
#005977
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2827c5;
/* rgb */ color: rgb(40, 39, 197);
/* oklch */ color: oklch(41.3% 0.231 270.5);
Tailwind
colors: {
  custom: {
    50: '#7f65d8',
    500: '#2827c5',
    950: '#000000',
  },
}
SCSS
$custom: #2827c5;
$custom-light: #7f65d8;
$custom-dark: #000000;
JSON
{
  "hex": "#2827c5",
  "rgb": {
    "r": 40,
    "g": 39,
    "b": 197
  },
  "hsl": {
    "h": 240.38,
    "s": 66.949,
    "l": 46.275
  },
  "oklch": {
    "l": 0.41325,
    "c": 0.23065,
    "h": 270.5
  },
  "luminance": 0.05933
}

Semantic roles & 50–950 ramp

primary
#2827C5
secondary
#CECF79
accent
#EA3EE9
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2827C5

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

Preview Lab → · Contrast checker → · Palette generator →

#2827C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva