#272FA1#272FA1

#272FA1 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.180 H 271.3°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#272FA1
RGBrgb(39, 47, 161)
HSLhsl(236, 61%, 39%)
HSVhsv(236, 76%, 63%)
CMYKcmyk(75.8%, 70.8%, 0%, 36.9%)
CIE-LABlab(26.84, 37.04, -62.15)
CIE-LCHlch(26.84, 72.35, 300.79°)
OKLaboklab(38.46% 0.0042 -0.1799)
OKLCHoklch(38.46% 0.18 271.3)
XYZxyz(8.2841, 5.0367, 34.2469)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272FA1 #A19927
analogous
#276CA1 #272FA1 #5C27A1
triadic
#272FA1 #A1272F #2FA127
tetradic
#272FA1 #A1276C #A19927 #27A15C
square
#272FA1 #A1276C #A19927 #27A15C
split-complementary
#272FA1 #A15C27 #6CA127
monochromatic
#0F123E #1B2170 #272FA1 #3741CE #686FDA

Accessibility & contrast

On white

10.46
#272FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#272FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272FA1
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272FA1#FFFFFF#000000##FFFFFF
##272FA11.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A4
Deuteranopia (green-blind)
#003A9F
Tritanopia (blue-blind)
#004F64
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #272fa1;
/* rgb */ color: rgb(39, 47, 161);
/* oklch */ color: oklch(38.5% 0.180 271.3);
Tailwind
colors: {
  custom: {
    50: '#7568be',
    500: '#272fa1',
    950: '#000000',
  },
}
SCSS
$custom: #272fa1;
$custom-light: #7568be;
$custom-dark: #000000;
JSON
{
  "hex": "#272fa1",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 236.066,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38459,
    "c": 0.17992,
    "h": 271.3
  },
  "luminance": 0.05038
}

Semantic roles & 50–950 ramp

primary
#272FA1
secondary
#C0BA63
accent
#DA44E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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