#272ABA#272ABA

#272ABA is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.4% C 0.216 H 270.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#272ABA
RGBrgb(39, 42, 186)
HSLhsl(239, 65%, 44%)
HSVhsv(239, 79%, 73%)
CMYKcmyk(79%, 77.4%, 0%, 27.1%)
CIE-LABlab(28.46, 48.45, -74.47)
CIE-LCHlch(28.46, 88.84, 303.05°)
OKLaboklab(40.4% 0.0024 -0.2156)
OKLCHoklch(40.4% 0.216 270.6)
XYZxyz(10.5246, 5.6312, 46.9771)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272ABA #BAB727
analogous
#2773BA #272ABA #6E27BA
triadic
#272ABA #BA272A #2ABA27
tetradic
#272ABA #BA2773 #BAB727 #27BA6E
square
#272ABA #BA2773 #BAB727 #27BA6E
split-complementary
#272ABA #BA6E27 #73BA27
monochromatic
#121355 #1C1F87 #272ABA #4649D8 #797BE3

Accessibility & contrast

On white

9.88
#272ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#272ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272ABA
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272ABA#FFFFFF#000000##FFFFFF
##272ABA1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004ABE
Deuteranopia (green-blind)
#003CB8
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #272aba;
/* rgb */ color: rgb(39, 42, 186);
/* oklch */ color: oklch(40.4% 0.216 270.6);
Tailwind
colors: {
  custom: {
    50: '#7c66d0',
    500: '#272aba',
    950: '#000000',
  },
}
SCSS
$custom: #272aba;
$custom-light: #7c66d0;
$custom-dark: #000000;
JSON
{
  "hex": "#272aba",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 238.776,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40402,
    "c": 0.21565,
    "h": 270.6
  },
  "luminance": 0.05632
}

Semantic roles & 50–950 ramp

primary
#272ABA
secondary
#CBC972
accent
#E540E8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #272ABA

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

Preview Lab → · Contrast checker → · Palette generator →

#272ABA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva