#272F91#272F91

#272F91 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.159 H 272.1°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#272F91
RGBrgb(39, 47, 145)
HSLhsl(235, 58%, 36%)
HSVhsv(235, 73%, 57%)
CMYKcmyk(73.1%, 67.6%, 0%, 43.1%)
CIE-LABlab(25.28, 31.26, -54.91)
CIE-LCHlch(25.28, 63.18, 299.65°)
OKLaboklab(36.86% 0.006 -0.1587)
OKLCHoklch(36.86% 0.159 272.1)
XYZxyz(6.9623, 4.5080, 27.2858)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F91 #918927
analogous
#276491 #272F91 #542791
triadic
#272F91 #91272F #2F9127
tetradic
#272F91 #912764 #918927 #279154
square
#272F91 #912764 #918927 #279154
split-complementary
#272F91 #915427 #649127
monochromatic
#0D1031 #1A1F61 #272F91 #343FC1 #5F67D4

Accessibility & contrast

On white

11.04
#272F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#272F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F91
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F91#FFFFFF#000000##FFFFFF
##272F911.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #272f91;
/* rgb */ color: rgb(39, 47, 145);
/* oklch */ color: oklch(36.9% 0.159 272.1);
Tailwind
colors: {
  custom: {
    50: '#7168b2',
    500: '#272f91',
    950: '#000000',
  },
}
SCSS
$custom: #272f91;
$custom-light: #7168b2;
$custom-dark: #000000;
JSON
{
  "hex": "#272f91",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 235.472,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36861,
    "c": 0.15882,
    "h": 272.1
  },
  "luminance": 0.04509
}

Semantic roles & 50–950 ramp

primary
#272F91
secondary
#B9B25B
accent
#D547E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272F91

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

Preview Lab → · Contrast checker → · Palette generator →

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