#272C91#272C91

#272C91 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.162 H 272.8°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#272C91
RGBrgb(39, 44, 145)
HSLhsl(237, 58%, 36%)
HSVhsv(237, 73%, 57%)
CMYKcmyk(73.1%, 69.7%, 0%, 43.1%)
CIE-LABlab(24.56, 33.19, -56.09)
CIE-LCHlch(24.56, 65.18, 300.61°)
OKLaboklab(36.34% 0.0079 -0.1622)
OKLCHoklch(36.34% 0.162 272.8)
XYZxyz(6.8465, 4.2764, 27.2472)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C91 #918C27
analogous
#276191 #272C91 #572791
triadic
#272C91 #91272C #2C9127
tetradic
#272C91 #912761 #918C27 #279157
square
#272C91 #912761 #918C27 #279157
split-complementary
#272C91 #915727 #619127
monochromatic
#0D0F31 #1A1D61 #272C91 #343BC1 #5F64D4

Accessibility & contrast

On white

11.32
#272C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#272C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C91
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C91#FFFFFF#000000##FFFFFF
##272C911.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#00475B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272c91;
/* rgb */ color: rgb(39, 44, 145);
/* oklch */ color: oklch(36.3% 0.162 272.8);
Tailwind
colors: {
  custom: {
    50: '#7265b2',
    500: '#272c91',
    950: '#000000',
  },
}
SCSS
$custom: #272c91;
$custom-light: #7265b2;
$custom-dark: #000000;
JSON
{
  "hex": "#272c91",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 237.17,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36338,
    "c": 0.16236,
    "h": 272.8
  },
  "luminance": 0.04277
}

Semantic roles & 50–950 ramp

primary
#272C91
secondary
#B9B55B
accent
#DA47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272C91

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

Preview Lab → · Contrast checker → · Palette generator →

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