#272AB0#272AB0

#272AB0 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.3% C 0.204 H 271.2°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#272AB0
RGBrgb(39, 42, 176)
HSLhsl(239, 64%, 42%)
HSVhsv(239, 78%, 69%)
CMYKcmyk(77.8%, 76.1%, 0%, 31%)
CIE-LABlab(27.35, 45.15, -70.34)
CIE-LCHlch(27.35, 83.59, 302.70°)
OKLaboklab(39.3% 0.0042 -0.2037)
OKLCHoklch(39.3% 0.204 271.2)
XYZxyz(9.4985, 5.2208, 41.5730)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272AB0 #B0AD27
analogous
#276FB0 #272AB0 #6927B0
triadic
#272AB0 #B0272A #2AB027
tetradic
#272AB0 #B0276F #B0AD27 #27B069
square
#272AB0 #B0276F #B0AD27 #27B069
split-complementary
#272AB0 #B06927 #6FB027
monochromatic
#11124C #1C1E7E #272AB0 #4043D5 #7274E0

Accessibility & contrast

On white

10.27
#272AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#272AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272AB0
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272AB0#FFFFFF#000000##FFFFFF
##272AB01.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B4
Deuteranopia (green-blind)
#003AAE
Tritanopia (blue-blind)
#00526B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #272ab0;
/* rgb */ color: rgb(39, 42, 176);
/* oklch */ color: oklch(39.3% 0.204 271.2);
Tailwind
colors: {
  custom: {
    50: '#7a65c9',
    500: '#272ab0',
    950: '#000000',
  },
}
SCSS
$custom: #272ab0;
$custom-light: #7a65c9;
$custom-dark: #000000;
JSON
{
  "hex": "#272ab0",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 238.686,
    "s": 63.721,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39296,
    "c": 0.20372,
    "h": 271.2
  },
  "luminance": 0.05222
}

Semantic roles & 50–950 ramp

primary
#272AB0
secondary
#C7C56C
accent
#E341E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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