#272F84#272F84

#272F84 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.141 H 272.8°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#272F84
RGBrgb(39, 47, 132)
HSLhsl(235, 54%, 34%)
HSVhsv(235, 70%, 52%)
CMYKcmyk(70.5%, 64.4%, 0%, 48.2%)
CIE-LABlab(24.10, 26.44, -48.77)
CIE-LCHlch(24.10, 55.48, 298.47°)
OKLaboklab(35.62% 0.0069 -0.1407)
OKLCHoklch(35.62% 0.141 272.8)
XYZxyz(6.0167, 4.1297, 22.3054)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F84 #847C27
analogous
#275D84 #272F84 #4D2784
triadic
#272F84 #84272F #2F8427
tetradic
#272F84 #84275D #847C27 #27844D
square
#272F84 #84275D #847C27 #27844D
split-complementary
#272F84 #844D27 #5D8427
monochromatic
#0B0D26 #191E55 #272F84 #3540B3 #5862CE

Accessibility & contrast

On white

11.50
#272F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#272F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F84
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F84#FFFFFF#000000##FFFFFF
##272F841.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E87
Deuteranopia (green-blind)
#003582
Tritanopia (blue-blind)
#004555
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272f84;
/* rgb */ color: rgb(39, 47, 132);
/* oklch */ color: oklch(35.6% 0.141 272.8);
Tailwind
colors: {
  custom: {
    50: '#6e67a9',
    500: '#272f84',
    950: '#000000',
  },
}
SCSS
$custom: #272f84;
$custom-light: #6e67a9;
$custom-dark: #000000;
JSON
{
  "hex": "#272f84",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 234.839,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35624,
    "c": 0.14088,
    "h": 272.8
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#272F84
secondary
#B2AA54
accent
#D14ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #272F84

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

Preview Lab → · Contrast checker → · Palette generator →

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