#272AC4#272AC4

#272AC4 is a dark, highly saturated blue. Relative luminance 0.061; OKLCH L 41.5% C 0.227 H 270.1°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#272AC4
RGBrgb(39, 42, 196)
HSLhsl(239, 67%, 46%)
HSVhsv(239, 80%, 77%)
CMYKcmyk(80.1%, 78.6%, 0%, 23.1%)
CIE-LABlab(29.59, 51.68, -78.50)
CIE-LCHlch(29.59, 93.98, 303.36°)
OKLaboklab(41.52% 0.0005 -0.2273)
OKLCHoklch(41.52% 0.227 270.1)
XYZxyz(11.6251, 6.0714, 52.7731)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272AC4 #C4C127
analogous
#2778C4 #272AC4 #7327C4
triadic
#272AC4 #C4272A #2AC427
tetradic
#272AC4 #C42778 #C4C127 #27C473
square
#272AC4 #C42778 #C4C127 #27C473
split-complementary
#272AC4 #C47327 #78C427
monochromatic
#13145E #1D1F91 #272AC4 #4D4FDC #8082E6

Accessibility & contrast

On white

9.48
#272AC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#272AC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272AC4
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272AC4#FFFFFF#000000##FFFFFF
##272AC41.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC8
Deuteranopia (green-blind)
#003EC1
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #272ac4;
/* rgb */ color: rgb(39, 42, 196);
/* oklch */ color: oklch(41.5% 0.227 270.1);
Tailwind
colors: {
  custom: {
    50: '#7e67d7',
    500: '#272ac4',
    950: '#000000',
  },
}
SCSS
$custom: #272ac4;
$custom-light: #7e67d7;
$custom-dark: #000000;
JSON
{
  "hex": "#272ac4",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 196
  },
  "hsl": {
    "h": 238.854,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.41524,
    "c": 0.22732,
    "h": 270.1
  },
  "luminance": 0.06073
}

Semantic roles & 50–950 ramp

primary
#272AC4
secondary
#CECD79
accent
#E63EEA
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #272AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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