#272AB2#272AB2

#272AB2 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.5% C 0.206 H 271.1°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#272AB2
RGBrgb(39, 42, 178)
HSLhsl(239, 64%, 43%)
HSVhsv(239, 78%, 70%)
CMYKcmyk(78.1%, 76.4%, 0%, 30.2%)
CIE-LABlab(27.57, 45.82, -71.18)
CIE-LCHlch(27.57, 84.65, 302.77°)
OKLaboklab(39.52% 0.0038 -0.2061)
OKLCHoklch(39.52% 0.206 271.1)
XYZxyz(9.6978, 5.3005, 42.6228)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272AB2 #B2AF27
analogous
#2770B2 #272AB2 #6927B2
triadic
#272AB2 #B2272A #2AB227
tetradic
#272AB2 #B22770 #B2AF27 #27B269
square
#272AB2 #B22770 #B2AF27 #27B269
split-complementary
#272AB2 #B26927 #70B227
monochromatic
#11124E #1C1E80 #272AB2 #4144D5 #7375E0

Accessibility & contrast

On white

10.19
#272AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#272AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272AB2
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272AB2#FFFFFF#000000##FFFFFF
##272AB21.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B6
Deuteranopia (green-blind)
#003AB0
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #272ab2;
/* rgb */ color: rgb(39, 42, 178);
/* oklch */ color: oklch(39.5% 0.206 271.1);
Tailwind
colors: {
  custom: {
    50: '#7a66ca',
    500: '#272ab2',
    950: '#000000',
  },
}
SCSS
$custom: #272ab2;
$custom-light: #7a66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#272ab2",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 238.705,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39515,
    "c": 0.20614,
    "h": 271.1
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#272AB2
secondary
#C8C66D
accent
#E341E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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