#272FA9#272FA9

#272FA9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.190 H 271.0°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#272FA9
RGBrgb(39, 47, 169)
HSLhsl(236, 63%, 41%)
HSVhsv(236, 77%, 66%)
CMYKcmyk(76.9%, 72.2%, 0%, 33.7%)
CIE-LABlab(27.65, 39.86, -65.65)
CIE-LCHlch(27.65, 76.80, 301.26°)
OKLaboklab(39.28% 0.0032 -0.1901)
OKLCHoklch(39.28% 0.19 271)
XYZxyz(9.0122, 5.3280, 38.0819)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272FA9 #A9A127
analogous
#2770A9 #272FA9 #6027A9
triadic
#272FA9 #A9272F #2FA927
tetradic
#272FA9 #A92770 #A9A127 #27A960
square
#272FA9 #A92770 #A9A127 #27A960
split-complementary
#272FA9 #A96027 #70A927
monochromatic
#101346 #1C2177 #272FA9 #3B45D2 #6D74DD

Accessibility & contrast

On white

10.17
#272FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#272FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272FA9
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272FA9#FFFFFF#000000##FFFFFF
##272FA91.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #272fa9;
/* rgb */ color: rgb(39, 47, 169);
/* oklch */ color: oklch(39.3% 0.190 271.0);
Tailwind
colors: {
  custom: {
    50: '#7768c4',
    500: '#272fa9',
    950: '#000000',
  },
}
SCSS
$custom: #272fa9;
$custom-light: #7768c4;
$custom-dark: #000000;
JSON
{
  "hex": "#272fa9",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 236.308,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.39285,
    "c": 0.1901,
    "h": 271
  },
  "luminance": 0.05329
}

Semantic roles & 50–950 ramp

primary
#272FA9
secondary
#C4BE68
accent
#DC42E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #272FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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