#272AB1#272AB1

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

Color values

HEX#272AB1
RGBrgb(39, 42, 177)
HSLhsl(239, 64%, 42%)
HSVhsv(239, 78%, 69%)
CMYKcmyk(78%, 76.3%, 0%, 30.6%)
CIE-LABlab(27.46, 45.49, -70.76)
CIE-LCHlch(27.46, 84.12, 302.73°)
OKLaboklab(39.41% 0.004 -0.2049)
OKLCHoklch(39.41% 0.205 271.1)
XYZxyz(9.5978, 5.2605, 42.0960)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272AB1 #B1AE27
analogous
#276FB1 #272AB1 #6927B1
triadic
#272AB1 #B1272A #2AB127
tetradic
#272AB1 #B1276F #B1AE27 #27B169
square
#272AB1 #B1276F #B1AE27 #27B169
split-complementary
#272AB1 #B16927 #6FB127
monochromatic
#11124D #1C1E7F #272AB1 #4043D5 #7275E0

Accessibility & contrast

On white

10.23
#272AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#272AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272AB1
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272AB1#FFFFFF#000000##FFFFFF
##272AB11.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B5
Deuteranopia (green-blind)
#003AAF
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #272ab1;
/* rgb */ color: rgb(39, 42, 177);
/* oklch */ color: oklch(39.4% 0.205 271.1);
Tailwind
colors: {
  custom: {
    50: '#7a66ca',
    500: '#272ab1',
    950: '#000000',
  },
}
SCSS
$custom: #272ab1;
$custom-light: #7a66ca;
$custom-dark: #000000;
JSON
{
  "hex": "#272ab1",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 238.696,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.39405,
    "c": 0.20493,
    "h": 271.1
  },
  "luminance": 0.05262
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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