#2727AD#2727AD

#2727AD is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.6% C 0.203 H 271.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#2727AD
RGBrgb(39, 39, 173)
HSLhsl(240, 63%, 42%)
HSVhsv(240, 77%, 68%)
CMYKcmyk(77.5%, 77.5%, 0%, 32.2%)
CIE-LABlab(26.44, 45.81, -70.05)
CIE-LCHlch(26.44, 83.70, 303.18°)
OKLaboklab(38.56% 0.0058 -0.2028)
OKLCHoklch(38.56% 0.203 271.6)
XYZxyz(9.1025, 4.8985, 39.9928)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2727AD #ADAD27
analogous
#276AAD #2727AD #6A27AD
triadic
#2727AD #AD2727 #27AD27
tetradic
#2727AD #AD276A #ADAD27 #27AD6A
square
#2727AD #AD276A #ADAD27 #27AD6A
split-complementary
#2727AD #AD6A27 #6AAD27
monochromatic
#101049 #1C1C7B #2727AD #3E3ED3 #7070DF

Accessibility & contrast

On white

10.61
#2727AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2727AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2727AD
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2727AD#FFFFFF#000000##FFFFFF
##2727AD1.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B1
Deuteranopia (green-blind)
#0038AB
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2727ad;
/* rgb */ color: rgb(39, 39, 173);
/* oklch */ color: oklch(38.6% 0.203 271.6);
Tailwind
colors: {
  custom: {
    50: '#7964c7',
    500: '#2727ad',
    950: '#000000',
  },
}
SCSS
$custom: #2727ad;
$custom-light: #7964c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2727ad",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 240,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38555,
    "c": 0.20288,
    "h": 271.6
  },
  "luminance": 0.049
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2727AD

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

Preview Lab → · Contrast checker → · Palette generator →

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