#272E84#272E84

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

Color values

HEX#272E84
RGBrgb(39, 46, 132)
HSLhsl(235, 54%, 34%)
HSVhsv(235, 70%, 52%)
CMYKcmyk(70.5%, 65.2%, 0%, 48.2%)
CIE-LABlab(23.84, 27.12, -49.19)
CIE-LCHlch(23.84, 56.17, 298.87°)
OKLaboklab(35.44% 0.0077 -0.1419)
OKLCHoklch(35.44% 0.142 273.1)
XYZxyz(5.9772, 4.0507, 22.2922)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E84 #847D27
analogous
#275C84 #272E84 #4E2784
triadic
#272E84 #84272E #2E8427
tetradic
#272E84 #84275C #847D27 #27844E
square
#272E84 #84275C #847D27 #27844E
split-complementary
#272E84 #844E27 #5C8427
monochromatic
#0B0D26 #191E55 #272E84 #353EB3 #5861CE

Accessibility & contrast

On white

11.60
#272E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#272E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E84
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E84#FFFFFF#000000##FFFFFF
##272E841.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272e84;
/* rgb */ color: rgb(39, 46, 132);
/* oklch */ color: oklch(35.4% 0.142 273.1);
Tailwind
colors: {
  custom: {
    50: '#6e66a9',
    500: '#272e84',
    950: '#000000',
  },
}
SCSS
$custom: #272e84;
$custom-light: #6e66a9;
$custom-dark: #000000;
JSON
{
  "hex": "#272e84",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 235.484,
    "s": 54.386,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35435,
    "c": 0.14216,
    "h": 273.1
  },
  "luminance": 0.04051
}

Semantic roles & 50–950 ramp

primary
#272E84
secondary
#B2AB54
accent
#D34ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #272E84

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

Preview Lab → · Contrast checker → · Palette generator →

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