#272597#272597

#272597 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.178 H 273.5°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#272597
RGBrgb(39, 37, 151)
HSLhsl(241, 61%, 37%)
HSVhsv(241, 75%, 59%)
CMYKcmyk(74.2%, 75.5%, 0%, 40.8%)
CIE-LABlab(23.63, 39.57, -61.33)
CIE-LCHlch(23.63, 72.99, 302.83°)
OKLaboklab(35.85% 0.011 -0.1774)
OKLCHoklch(35.85% 0.178 273.5)
XYZxyz(7.0823, 3.9881, 29.6687)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272597 #959725
analogous
#255C97 #272597 #602597
triadic
#272597 #972725 #259727
tetradic
#272597 #97255C #959725 #259760
square
#272597 #97255C #959725 #259760
split-complementary
#272597 #976025 #5C9725
monochromatic
#0E0D35 #1A1966 #272597 #3431C8 #615FD8

Accessibility & contrast

On white

11.68
#272597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#272597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272597
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272597#FFFFFF#000000##FFFFFF
##2725971.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003395
Tritanopia (blue-blind)
#00465C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #272597;
/* rgb */ color: rgb(39, 37, 151);
/* oklch */ color: oklch(35.9% 0.178 273.5);
Tailwind
colors: {
  custom: {
    50: '#7461b7',
    500: '#272597',
    950: '#000000',
  },
}
SCSS
$custom: #272597;
$custom-light: #7461b7;
$custom-dark: #000000;
JSON
{
  "hex": "#272597",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 241.053,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.35855,
    "c": 0.17777,
    "h": 273.5
  },
  "luminance": 0.03989
}

Semantic roles & 50–950 ramp

primary
#272597
secondary
#BBBD5B
accent
#E444E1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #272597

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

Preview Lab → · Contrast checker → · Palette generator →

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