#272496#272496

#272496 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.6% C 0.178 H 273.8°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#272496
RGBrgb(39, 36, 150)
HSLhsl(242, 61%, 36%)
HSVhsv(242, 76%, 59%)
CMYKcmyk(74%, 76%, 0%, 41.2%)
CIE-LABlab(23.32, 39.81, -61.23)
CIE-LCHlch(23.32, 73.04, 303.03°)
OKLaboklab(35.6% 0.0117 -0.1771)
OKLCHoklch(35.6% 0.178 273.8)
XYZxyz(6.9708, 3.8944, 29.2326)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272496 #939624
analogous
#245A96 #272496 #602496
triadic
#272496 #962724 #249627
tetradic
#272496 #96245A #939624 #249660
square
#272496 #96245A #939624 #249660
split-complementary
#272496 #966024 #5A9624
monochromatic
#0D0C33 #1A1865 #272496 #3430C7 #605CD8

Accessibility & contrast

On white

11.80
#272496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#272496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272496
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272496#FFFFFF#000000##FFFFFF
##2724961.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003294
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #272496;
/* rgb */ color: rgb(39, 36, 150);
/* oklch */ color: oklch(35.6% 0.178 273.8);
Tailwind
colors: {
  custom: {
    50: '#7460b6',
    500: '#272496',
    950: '#000000',
  },
}
SCSS
$custom: #272496;
$custom-light: #7460b6;
$custom-dark: #000000;
JSON
{
  "hex": "#272496",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 241.579,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35601,
    "c": 0.17752,
    "h": 273.8
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#272496
secondary
#BABD59
accent
#E443E0
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272496

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

Preview Lab → · Contrast checker → · Palette generator →

#272496 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva