#272B79#272B79

#272B79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.130 H 274.7°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#272B79
RGBrgb(39, 43, 121)
HSLhsl(237, 51%, 31%)
HSVhsv(237, 68%, 47%)
CMYKcmyk(67.8%, 64.5%, 0%, 52.5%)
CIE-LABlab(22.09, 25.05, -45.10)
CIE-LCHlch(22.09, 51.59, 299.05°)
OKLaboklab(33.84% 0.0108 -0.13)
OKLCHoklch(33.84% 0.13 274.7)
XYZxyz(5.1506, 3.5391, 18.4971)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272B79 #797527
analogous
#275479 #272B79 #4C2779
triadic
#272B79 #79272B #2B7927
tetradic
#272B79 #792754 #797527 #27794C
square
#272B79 #792754 #797527 #27794C
split-complementary
#272B79 #794C27 #547927
monochromatic
#090A1C #181B4B #272B79 #363BA7 #5359C8

Accessibility & contrast

On white

12.30
#272B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#272B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272B79
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272B79#FFFFFF#000000##FFFFFF
##272B791.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397C
Deuteranopia (green-blind)
#003177
Tritanopia (blue-blind)
#003F4D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #272b79;
/* rgb */ color: rgb(39, 43, 121);
/* oklch */ color: oklch(33.8% 0.130 274.7);
Tailwind
colors: {
  custom: {
    50: '#6c64a0',
    500: '#272b79',
    950: '#000000',
  },
}
SCSS
$custom: #272b79;
$custom-light: #6c64a0;
$custom-dark: #000000;
JSON
{
  "hex": "#272b79",
  "rgb": {
    "r": 39,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 237.073,
    "s": 51.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.33844,
    "c": 0.13043,
    "h": 274.7
  },
  "luminance": 0.0354
}

Semantic roles & 50–950 ramp

primary
#272B79
secondary
#ABA751
accent
#D44DDB
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050F
muted
#7A7A7E

Preview Lab

Preview with #272B79

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

Preview Lab → · Contrast checker → · Palette generator →

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