#272B77#272B77

#272B77 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.7% C 0.128 H 274.9°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#272B77
RGBrgb(39, 43, 119)
HSLhsl(237, 51%, 31%)
HSVhsv(237, 67%, 47%)
CMYKcmyk(67.2%, 63.9%, 0%, 53.3%)
CIE-LABlab(21.91, 24.31, -44.11)
CIE-LCHlch(21.91, 50.37, 298.85°)
OKLaboklab(33.66% 0.0109 -0.1271)
OKLCHoklch(33.66% 0.128 274.9)
XYZxyz(5.0293, 3.4906, 17.8579)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B77 #777327
analogous
#275377 #272B77 #4B2777
triadic
#272B77 #77272B #2B7727
tetradic
#272B77 #772753 #777327 #27774B
square
#272B77 #772753 #777327 #27774B
split-complementary
#272B77 #774B27 #537727
monochromatic
#090A1B #181A49 #272B77 #363CA5 #5258C6

Accessibility & contrast

On white

12.37
#272B77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#272B77 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B77
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B77#FFFFFF#000000##FFFFFF
##272B771.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003879
Deuteranopia (green-blind)
#003176
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #272b77;
/* rgb */ color: rgb(39, 43, 119);
/* oklch */ color: oklch(33.7% 0.128 274.9);
Tailwind
colors: {
  custom: {
    50: '#6c649f',
    500: '#272b77',
    950: '#000000',
  },
}
SCSS
$custom: #272b77;
$custom-light: #6c649f;
$custom-dark: #000000;
JSON
{
  "hex": "#272b77",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 119
  },
  "hsl": {
    "h": 237,
    "s": 50.633,
    "l": 30.98
  },
  "oklch": {
    "l": 0.33661,
    "c": 0.12755,
    "h": 274.9
  },
  "luminance": 0.03491
}

Semantic roles & 50–950 ramp

primary
#272B77
secondary
#A9A551
accent
#D34EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07050E
muted
#7A7A7E

Preview Lab

Preview with #272B77

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

Preview Lab → · Contrast checker → · Palette generator →

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