#2727AE#2727AE

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

Color values

HEX#2727AE
RGBrgb(39, 39, 174)
HSLhsl(240, 63%, 42%)
HSVhsv(240, 78%, 68%)
CMYKcmyk(77.6%, 77.6%, 0%, 31.8%)
CIE-LABlab(26.56, 46.14, -70.47)
CIE-LCHlch(26.56, 84.23, 303.22°)
OKLaboklab(38.67% 0.0056 -0.204)
OKLCHoklch(38.67% 0.204 271.6)
XYZxyz(9.1996, 4.9374, 40.5043)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2727AE #AEAE27
analogous
#276BAE #2727AE #6B27AE
triadic
#2727AE #AE2727 #27AE27
tetradic
#2727AE #AE276B #AEAE27 #27AE6B
square
#2727AE #AE276B #AEAE27 #27AE6B
split-complementary
#2727AE #AE6B27 #6BAE27
monochromatic
#11114A #1C1C7C #2727AE #3E3ED4 #7070DF

Accessibility & contrast

On white

10.57
#2727AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2727AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2727AE
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2727AE#FFFFFF#000000##FFFFFF
##2727AE1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2727ae;
/* rgb */ color: rgb(39, 39, 174);
/* oklch */ color: oklch(38.7% 0.204 271.6);
Tailwind
colors: {
  custom: {
    50: '#7964c8',
    500: '#2727ae',
    950: '#000000',
  },
}
SCSS
$custom: #2727ae;
$custom-light: #7964c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2727ae",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 174
  },
  "hsl": {
    "h": 240,
    "s": 63.38,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38667,
    "c": 0.20409,
    "h": 271.6
  },
  "luminance": 0.04938
}

Semantic roles & 50–950 ramp

primary
#2727AE
secondary
#C6C66B
accent
#E641E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2727AE

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

Preview Lab → · Contrast checker → · Palette generator →

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