#272F89#272F89

#272F89 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.148 H 272.5°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#272F89
RGBrgb(39, 47, 137)
HSLhsl(235, 56%, 35%)
HSVhsv(235, 72%, 54%)
CMYKcmyk(71.5%, 65.7%, 0%, 46.3%)
CIE-LABlab(24.54, 28.31, -51.16)
CIE-LCHlch(24.54, 58.47, 298.95°)
OKLaboklab(36.09% 0.0066 -0.1477)
OKLCHoklch(36.09% 0.148 272.5)
XYZxyz(6.3671, 4.2699, 24.1507)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F89 #898127
analogous
#276089 #272F89 #502789
triadic
#272F89 #89272F #2F8927
tetradic
#272F89 #892760 #898127 #278950
square
#272F89 #892760 #898127 #278950
split-complementary
#272F89 #895027 #608927
monochromatic
#0C0E2A #191F59 #272F89 #353FB9 #5A64D0

Accessibility & contrast

On white

11.33
#272F89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#272F89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F89
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F89#FFFFFF#000000##FFFFFF
##272F891.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8C
Deuteranopia (green-blind)
#003687
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272f89;
/* rgb */ color: rgb(39, 47, 137);
/* oklch */ color: oklch(36.1% 0.148 272.5);
Tailwind
colors: {
  custom: {
    50: '#6f67ac',
    500: '#272f89',
    950: '#000000',
  },
}
SCSS
$custom: #272f89;
$custom-light: #6f67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#272f89",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 235.102,
    "s": 55.682,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36092,
    "c": 0.14787,
    "h": 272.5
  },
  "luminance": 0.04271
}

Semantic roles & 50–950 ramp

primary
#272F89
secondary
#B5AD57
accent
#D349DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #272F89

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

Preview Lab → · Contrast checker → · Palette generator →

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