#2727AC#2727AC

#2727AC is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.4% C 0.202 H 271.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#2727AC
RGBrgb(39, 39, 172)
HSLhsl(240, 63%, 41%)
HSVhsv(240, 77%, 67%)
CMYKcmyk(77.3%, 77.3%, 0%, 32.5%)
CIE-LABlab(26.33, 45.48, -69.64)
CIE-LCHlch(26.33, 83.17, 303.15°)
OKLaboklab(38.44% 0.006 -0.2016)
OKLCHoklch(38.44% 0.202 271.7)
XYZxyz(9.0061, 4.8600, 39.4851)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2727AC #ACAC27
analogous
#276AAC #2727AC #6A27AC
triadic
#2727AC #AC2727 #27AC27
tetradic
#2727AC #AC276A #ACAC27 #27AC6A
square
#2727AC #AC276A #ACAC27 #27AC6A
split-complementary
#2727AC #AC6A27 #6AAC27
monochromatic
#101048 #1C1C7A #2727AC #3D3DD3 #6F6FDE

Accessibility & contrast

On white

10.65
#2727AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2727AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2727AC
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2727AC#FFFFFF#000000##FFFFFF
##2727AC1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2727ac;
/* rgb */ color: rgb(39, 39, 172);
/* oklch */ color: oklch(38.4% 0.202 271.7);
Tailwind
colors: {
  custom: {
    50: '#7963c6',
    500: '#2727ac',
    950: '#000000',
  },
}
SCSS
$custom: #2727ac;
$custom-light: #7963c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2727ac",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 172
  },
  "hsl": {
    "h": 240,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38444,
    "c": 0.20168,
    "h": 271.7
  },
  "luminance": 0.04861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2727AC

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

Preview Lab → · Contrast checker → · Palette generator →

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