#2727A2#2727A2

#2727A2 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.190 H 272.4°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#2727A2
RGBrgb(39, 39, 162)
HSLhsl(240, 61%, 39%)
HSVhsv(240, 76%, 64%)
CMYKcmyk(75.9%, 75.9%, 0%, 36.5%)
CIE-LABlab(25.23, 42.15, -65.42)
CIE-LCHlch(25.23, 77.82, 302.80°)
OKLaboklab(37.34% 0.008 -0.1893)
OKLCHoklch(37.34% 0.19 272.4)
XYZxyz(8.0816, 4.4902, 34.6162)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2727A2 #A2A227
analogous
#2765A2 #2727A2 #6527A2
triadic
#2727A2 #A22727 #27A227
tetradic
#2727A2 #A22765 #A2A227 #27A265
square
#2727A2 #A22765 #A2A227 #27A265
split-complementary
#2727A2 #A26527 #65A227
monochromatic
#0F0F3F #1B1B71 #2727A2 #3737CF #6969DB

Accessibility & contrast

On white

11.06
#2727A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2727A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2727A2
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2727A2#FFFFFF#000000##FFFFFF
##2727A21.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A6
Deuteranopia (green-blind)
#0036A0
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2727a2;
/* rgb */ color: rgb(39, 39, 162);
/* oklch */ color: oklch(37.3% 0.190 272.4);
Tailwind
colors: {
  custom: {
    50: '#7663bf',
    500: '#2727a2',
    950: '#000000',
  },
}
SCSS
$custom: #2727a2;
$custom-light: #7663bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2727a2",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 240,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37341,
    "c": 0.1895,
    "h": 272.4
  },
  "luminance": 0.04491
}

Semantic roles & 50–950 ramp

primary
#2727A2
secondary
#C1C164
accent
#E443E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #2727A2

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

Preview Lab → · Contrast checker → · Palette generator →

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