#272A77#272A77

#272A77 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.129 H 275.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#272A77
RGBrgb(39, 42, 119)
HSLhsl(238, 51%, 31%)
HSVhsv(238, 67%, 47%)
CMYKcmyk(67.2%, 64.7%, 0%, 53.3%)
CIE-LABlab(21.65, 24.99, -44.54)
CIE-LCHlch(21.65, 51.07, 299.29°)
OKLaboklab(33.47% 0.0118 -0.1283)
OKLCHoklch(33.47% 0.129 275.3)
XYZxyz(4.9933, 3.4187, 17.8459)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A77 #777427
analogous
#275277 #272A77 #4C2777
triadic
#272A77 #77272A #2A7727
tetradic
#272A77 #772752 #777427 #27774C
square
#272A77 #772752 #777427 #27774C
split-complementary
#272A77 #774C27 #527727
monochromatic
#09091B #181A49 #272A77 #363AA5 #5256C6

Accessibility & contrast

On white

12.47
#272A77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#272A77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272A77
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A77#FFFFFF#000000##FFFFFF
##272A771.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003779
Deuteranopia (green-blind)
#003075
Tritanopia (blue-blind)
#003D4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #272a77;
/* rgb */ color: rgb(39, 42, 119);
/* oklch */ color: oklch(33.5% 0.129 275.3);
Tailwind
colors: {
  custom: {
    50: '#6c639f',
    500: '#272a77',
    950: '#000000',
  },
}
SCSS
$custom: #272a77;
$custom-light: #6c639f;
$custom-dark: #000000;
JSON
{
  "hex": "#272a77",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 119
  },
  "hsl": {
    "h": 237.75,
    "s": 50.633,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33468,
    "c": 0.12888,
    "h": 275.3
  },
  "luminance": 0.03419
}

Semantic roles & 50–950 ramp

primary
#272A77
secondary
#A9A651
accent
#D54EDA
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #272A77

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

Preview Lab → · Contrast checker → · Palette generator →

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