#272CA1#272CA1

#272CA1 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.0% C 0.183 H 271.8°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#272CA1
RGBrgb(39, 44, 161)
HSLhsl(238, 61%, 39%)
HSVhsv(238, 76%, 63%)
CMYKcmyk(75.8%, 72.7%, 0%, 36.9%)
CIE-LABlab(26.17, 38.87, -63.25)
CIE-LCHlch(26.17, 74.24, 301.57°)
OKLaboklab(37.98% 0.0058 -0.1831)
OKLCHoklch(37.98% 0.183 271.8)
XYZxyz(8.1682, 4.8050, 34.2083)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272CA1 #A19C27
analogous
#2769A1 #272CA1 #5F27A1
triadic
#272CA1 #A1272C #2CA127
tetradic
#272CA1 #A12769 #A19C27 #27A15F
square
#272CA1 #A12769 #A19C27 #27A15F
split-complementary
#272CA1 #A15F27 #69A127
monochromatic
#0F113E #1B1F70 #272CA1 #373DCE #686DDA

Accessibility & contrast

On white

10.71
#272CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#272CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272CA1
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272CA1#FFFFFF#000000##FFFFFF
##272CA11.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A4
Deuteranopia (green-blind)
#00389F
Tritanopia (blue-blind)
#004D63
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #272ca1;
/* rgb */ color: rgb(39, 44, 161);
/* oklch */ color: oklch(38.0% 0.183 271.8);
Tailwind
colors: {
  custom: {
    50: '#7666be',
    500: '#272ca1',
    950: '#000000',
  },
}
SCSS
$custom: #272ca1;
$custom-light: #7666be;
$custom-dark: #000000;
JSON
{
  "hex": "#272ca1",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 237.541,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.3798,
    "c": 0.18316,
    "h": 271.8
  },
  "luminance": 0.04806
}

Semantic roles & 50–950 ramp

primary
#272CA1
secondary
#C0BD63
accent
#DE44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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