#272D89#272D89

#272D89 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.150 H 273.1°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#272D89
RGBrgb(39, 45, 137)
HSLhsl(236, 56%, 35%)
HSVhsv(236, 72%, 54%)
CMYKcmyk(71.5%, 67.2%, 0%, 46.3%)
CIE-LABlab(24.04, 29.63, -51.98)
CIE-LCHlch(24.04, 59.83, 299.68°)
OKLaboklab(35.73% 0.0081 -0.1501)
OKLCHoklch(35.73% 0.15 273.1)
XYZxyz(6.2889, 4.1136, 24.1246)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D89 #898327
analogous
#275E89 #272D89 #522789
triadic
#272D89 #89272D #2D8927
tetradic
#272D89 #89275E #898327 #278952
square
#272D89 #89275E #898327 #278952
split-complementary
#272D89 #895227 #5E8927
monochromatic
#0C0E2A #191D59 #272D89 #353DB9 #5A62D0

Accessibility & contrast

On white

11.52
#272D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#272D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D89
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D89#FFFFFF#000000##FFFFFF
##272D891.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272d89;
/* rgb */ color: rgb(39, 45, 137);
/* oklch */ color: oklch(35.7% 0.150 273.1);
Tailwind
colors: {
  custom: {
    50: '#7066ac',
    500: '#272d89',
    950: '#000000',
  },
}
SCSS
$custom: #272d89;
$custom-light: #7066ac;
$custom-dark: #000000;
JSON
{
  "hex": "#272d89",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 236.327,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35726,
    "c": 0.15036,
    "h": 273.1
  },
  "luminance": 0.04114
}

Semantic roles & 50–950 ramp

primary
#272D89
secondary
#B5AF57
accent
#D649DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #272D89

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

Preview Lab → · Contrast checker → · Palette generator →

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