#272FB1#272FB1

#272FB1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.1% C 0.200 H 270.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#272FB1
RGBrgb(39, 47, 177)
HSLhsl(237, 64%, 42%)
HSVhsv(237, 78%, 69%)
CMYKcmyk(78%, 73.4%, 0%, 30.6%)
CIE-LABlab(28.48, 42.63, -69.08)
CIE-LCHlch(28.48, 81.18, 301.68°)
OKLaboklab(40.13% 0.002 -0.2)
OKLCHoklch(40.13% 0.2 270.6)
XYZxyz(9.7863, 5.6376, 42.1588)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272FB1 #B1A927
analogous
#2774B1 #272FB1 #6427B1
triadic
#272FB1 #B1272F #2FB127
tetradic
#272FB1 #B12774 #B1A927 #27B164
square
#272FB1 #B12774 #B1A927 #27B164
split-complementary
#272FB1 #B16427 #74B127
monochromatic
#11144D #1C227F #272FB1 #4049D5 #7279E0

Accessibility & contrast

On white

9.87
#272FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#272FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272FB1
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272FB1#FFFFFF#000000##FFFFFF
##272FB11.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB5
Deuteranopia (green-blind)
#003CAF
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #272fb1;
/* rgb */ color: rgb(39, 47, 177);
/* oklch */ color: oklch(40.1% 0.200 270.6);
Tailwind
colors: {
  custom: {
    50: '#7969ca',
    500: '#272fb1',
    950: '#000000',
  },
}
SCSS
$custom: #272fb1;
$custom-light: #7969ca;
$custom-dark: #000000;
JSON
{
  "hex": "#272fb1",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 236.522,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.40126,
    "c": 0.20006,
    "h": 270.6
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#272FB1
secondary
#C7C26D
accent
#DD41E7
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #272FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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