#272C86#272C86

#272C86 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.147 H 273.5°. Best body text is #FFFFFF at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#272C86
RGBrgb(39, 44, 134)
HSLhsl(237, 55%, 34%)
HSVhsv(237, 71%, 53%)
CMYKcmyk(70.9%, 67.2%, 0%, 47.5%)
CIE-LABlab(23.52, 29.19, -50.97)
CIE-LCHlch(23.52, 58.73, 299.80°)
OKLaboklab(35.26% 0.0091 -0.1472)
OKLCHoklch(35.26% 0.147 273.5)
XYZxyz(6.0390, 3.9534, 22.9945)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C86 #868127
analogous
#275C86 #272C86 #522786
triadic
#272C86 #86272C #2C8627
tetradic
#272C86 #86275C #868127 #278652
square
#272C86 #86275C #868127 #278652
split-complementary
#272C86 #865227 #5C8627
monochromatic
#0B0D27 #191C57 #272C86 #353CB5 #595FCF

Accessibility & contrast

On white

11.73
#272C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#272C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C86
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C86#FFFFFF#000000##FFFFFF
##272C861.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C89
Deuteranopia (green-blind)
#003484
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #272c86;
/* rgb */ color: rgb(39, 44, 134);
/* oklch */ color: oklch(35.3% 0.147 273.5);
Tailwind
colors: {
  custom: {
    50: '#6f65aa',
    500: '#272c86',
    950: '#000000',
  },
}
SCSS
$custom: #272c86;
$custom-light: #6f65aa;
$custom-dark: #000000;
JSON
{
  "hex": "#272c86",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 236.842,
    "s": 54.913,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35256,
    "c": 0.14746,
    "h": 273.5
  },
  "luminance": 0.03954
}

Semantic roles & 50–950 ramp

primary
#272C86
secondary
#B4AF55
accent
#D64ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #272C86

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

Preview Lab → · Contrast checker → · Palette generator →

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