#2727A9#2727A9

#2727A9 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.1% C 0.198 H 271.9°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#2727A9
RGBrgb(39, 39, 169)
HSLhsl(240, 63%, 41%)
HSVhsv(240, 77%, 66%)
CMYKcmyk(76.9%, 76.9%, 0%, 33.7%)
CIE-LABlab(26.00, 44.49, -68.38)
CIE-LCHlch(26.00, 81.58, 303.05°)
OKLaboklab(38.11% 0.0066 -0.1979)
OKLCHoklch(38.11% 0.198 271.9)
XYZxyz(8.7212, 4.7460, 37.9849)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2727A9 #A9A927
analogous
#2768A9 #2727A9 #6827A9
triadic
#2727A9 #A92727 #27A927
tetradic
#2727A9 #A92768 #A9A927 #27A968
square
#2727A9 #A92768 #A9A927 #27A968
split-complementary
#2727A9 #A96827 #68A927
monochromatic
#101046 #1C1C77 #2727A9 #3B3BD2 #6D6DDD

Accessibility & contrast

On white

10.77
#2727A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2727A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2727A9
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2727A9#FFFFFF#000000##FFFFFF
##2727A91.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004E67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2727a9;
/* rgb */ color: rgb(39, 39, 169);
/* oklch */ color: oklch(38.1% 0.198 271.9);
Tailwind
colors: {
  custom: {
    50: '#7863c4',
    500: '#2727a9',
    950: '#000000',
  },
}
SCSS
$custom: #2727a9;
$custom-light: #7863c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2727a9",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 240,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.38111,
    "c": 0.19806,
    "h": 271.9
  },
  "luminance": 0.04747
}

Semantic roles & 50–950 ramp

primary
#2727A9
secondary
#C4C468
accent
#E642E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2727A9

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

Preview Lab → · Contrast checker → · Palette generator →

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