#272097#272097

#272097 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.2% C 0.183 H 274.2°. Best body text is #FFFFFF at 12.07:1 contrast (WCAG AA passes).

Color values

HEX#272097
RGBrgb(39, 32, 151)
HSLhsl(244, 65%, 36%)
HSVhsv(244, 79%, 59%)
CMYKcmyk(74.2%, 78.8%, 0%, 40.8%)
CIE-LABlab(22.65, 42.37, -62.96)
CIE-LCHlch(22.65, 75.89, 303.94°)
OKLaboklab(35.16% 0.0133 -0.1821)
OKLCHoklch(35.16% 0.183 274.2)
XYZxyz(6.9373, 3.6980, 29.6203)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272097 #909720
analogous
#205597 #272097 #622097
triadic
#272097 #972720 #209727
tetradic
#272097 #972055 #909720 #209762
square
#272097 #972055 #909720 #209762
split-complementary
#272097 #976220 #559720
monochromatic
#0D0B32 #1A1564 #272097 #342BC9 #5E56DB

Accessibility & contrast

On white

12.07
#272097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#272097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272097
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272097#FFFFFF#000000##FFFFFF
##2720971.0012.071.7412.07
#FFFFFF12.071.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B9A
Deuteranopia (green-blind)
#003095
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272097;
/* rgb */ color: rgb(39, 32, 151);
/* oklch */ color: oklch(35.2% 0.183 274.2);
Tailwind
colors: {
  custom: {
    50: '#745eb7',
    500: '#272097',
    950: '#000000',
  },
}
SCSS
$custom: #272097;
$custom-light: #745eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#272097",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 243.529,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.3516,
    "c": 0.1826,
    "h": 274.2
  },
  "luminance": 0.03699
}

Semantic roles & 50–950 ramp

primary
#272097
secondary
#B9BF54
accent
#E840DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #272097

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

Preview Lab → · Contrast checker → · Palette generator →

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