#272F72#272F72

#272F72 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.115 H 273.5°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#272F72
RGBrgb(39, 47, 114)
HSLhsl(234, 49%, 30%)
HSVhsv(234, 66%, 45%)
CMYKcmyk(65.8%, 58.8%, 0%, 55.3%)
CIE-LABlab(22.58, 19.66, -39.83)
CIE-LCHlch(22.58, 44.42, 296.28°)
OKLaboklab(34.03% 0.007 -0.1144)
OKLCHoklch(34.03% 0.115 273.5)
XYZxyz(4.8895, 3.6789, 16.3688)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F72 #726A27
analogous
#275572 #272F72 #442772
triadic
#272F72 #72272F #2F7227
tetradic
#272F72 #722755 #726A27 #277244
square
#272F72 #722755 #726A27 #277244
split-complementary
#272F72 #724427 #557227
monochromatic
#080917 #171C44 #272F72 #3742A0 #505CC3

Accessibility & contrast

On white

12.10
#272F72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#272F72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F72
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F72#FFFFFF#000000##FFFFFF
##272F721.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272f72;
/* rgb */ color: rgb(39, 47, 114);
/* oklch */ color: oklch(34.0% 0.115 273.5);
Tailwind
colors: {
  custom: {
    50: '#6a679b',
    500: '#272f72',
    950: '#000000',
  },
}
SCSS
$custom: #272f72;
$custom-light: #6a679b;
$custom-dark: #000000;
JSON
{
  "hex": "#272f72",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 114
  },
  "hsl": {
    "h": 233.6,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.34027,
    "c": 0.11466,
    "h": 273.5
  },
  "luminance": 0.03679
}

Semantic roles & 50–950 ramp

primary
#272F72
secondary
#A49B50
accent
#CA4FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #272F72

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

Preview Lab → · Contrast checker → · Palette generator →

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