#272AB4#272AB4

#272AB4 is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.7% C 0.209 H 270.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#272AB4
RGBrgb(39, 42, 180)
HSLhsl(239, 64%, 43%)
HSVhsv(239, 78%, 71%)
CMYKcmyk(78.3%, 76.7%, 0%, 29.4%)
CIE-LABlab(27.79, 46.48, -72.00)
CIE-LCHlch(27.79, 85.71, 302.84°)
OKLaboklab(39.74% 0.0035 -0.2085)
OKLCHoklch(39.74% 0.209 270.9)
XYZxyz(9.9001, 5.3814, 43.6881)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272AB4 #B4B127
analogous
#2771B4 #272AB4 #6A27B4
triadic
#272AB4 #B4272A #2AB427
tetradic
#272AB4 #B42771 #B4B127 #27B46A
square
#272AB4 #B42771 #B4B127 #27B46A
split-complementary
#272AB4 #B46A27 #71B427
monochromatic
#11134F #1C1E82 #272AB4 #4245D6 #7477E1

Accessibility & contrast

On white

10.11
#272AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#272AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272AB4
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272AB4#FFFFFF#000000##FFFFFF
##272AB41.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B8
Deuteranopia (green-blind)
#003AB2
Tritanopia (blue-blind)
#00536E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #272ab4;
/* rgb */ color: rgb(39, 42, 180);
/* oklch */ color: oklch(39.7% 0.209 270.9);
Tailwind
colors: {
  custom: {
    50: '#7a66cc',
    500: '#272ab4',
    950: '#000000',
  },
}
SCSS
$custom: #272ab4;
$custom-light: #7a66cc;
$custom-dark: #000000;
JSON
{
  "hex": "#272ab4",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 180
  },
  "hsl": {
    "h": 238.723,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39736,
    "c": 0.20853,
    "h": 270.9
  },
  "luminance": 0.05383
}

Semantic roles & 50–950 ramp

primary
#272AB4
secondary
#C8C66F
accent
#E440E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #272AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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