#2727C4#2727C4

#2727C4 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.2% C 0.230 H 270.3°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2727C4
RGBrgb(39, 39, 196)
HSLhsl(240, 67%, 46%)
HSVhsv(240, 80%, 77%)
CMYKcmyk(80.1%, 80.1%, 0%, 23.1%)
CIE-LABlab(29.07, 53.18, -79.36)
CIE-LCHlch(29.07, 95.53, 303.83°)
OKLaboklab(41.16% 0.0012 -0.2298)
OKLCHoklch(41.16% 0.23 270.3)
XYZxyz(11.5226, 5.8666, 52.7389)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2727C4 #C4C427
analogous
#2775C4 #2727C4 #7527C4
triadic
#2727C4 #C42727 #27C427
tetradic
#2727C4 #C42775 #C4C427 #27C475
square
#2727C4 #C42775 #C4C427 #27C475
split-complementary
#2727C4 #C47527 #75C427
monochromatic
#13135E #1D1D91 #2727C4 #4D4DDC #8080E6

Accessibility & contrast

On white

9.66
#2727C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2727C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2727C4
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2727C4#FFFFFF#000000##FFFFFF
##2727C41.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC8
Deuteranopia (green-blind)
#003CC1
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2727c4;
/* rgb */ color: rgb(39, 39, 196);
/* oklch */ color: oklch(41.2% 0.230 270.3);
Tailwind
colors: {
  custom: {
    50: '#7f65d7',
    500: '#2727c4',
    950: '#000000',
  },
}
SCSS
$custom: #2727c4;
$custom-light: #7f65d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2727c4",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 196
  },
  "hsl": {
    "h": 240,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41162,
    "c": 0.22977,
    "h": 270.3
  },
  "luminance": 0.05868
}

Semantic roles & 50–950 ramp

primary
#2727C4
secondary
#CECE79
accent
#EA3EEA
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2727C4

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

Preview Lab → · Contrast checker → · Palette generator →

#2727C4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva