#272491#272491

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

Color values

HEX#272491
RGBrgb(39, 36, 145)
HSLhsl(242, 60%, 35%)
HSVhsv(242, 75%, 57%)
CMYKcmyk(73.1%, 75.2%, 0%, 43.1%)
CIE-LABlab(22.78, 38.11, -59.03)
CIE-LCHlch(22.78, 70.26, 302.85°)
OKLaboklab(35.06% 0.0127 -0.1707)
OKLCHoklch(35.06% 0.171 274.2)
XYZxyz(6.5767, 3.7368, 27.1572)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272491 #8E9124
analogous
#245891 #272491 #5D2491
triadic
#272491 #912724 #249127
tetradic
#272491 #912458 #8E9124 #24915D
square
#272491 #912458 #8E9124 #24915D
split-complementary
#272491 #915D24 #589124
monochromatic
#0D0C2F #1A1860 #272491 #3430C2 #5D59D6

Accessibility & contrast

On white

12.02
#272491 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#272491 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272491
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272491#FFFFFF#000000##FFFFFF
##2724911.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00318F
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272491;
/* rgb */ color: rgb(39, 36, 145);
/* oklch */ color: oklch(35.1% 0.171 274.2);
Tailwind
colors: {
  custom: {
    50: '#7260b2',
    500: '#272491',
    950: '#000000',
  },
}
SCSS
$custom: #272491;
$custom-light: #7260b2;
$custom-dark: #000000;
JSON
{
  "hex": "#272491",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 145
  },
  "hsl": {
    "h": 241.651,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35059,
    "c": 0.17119,
    "h": 274.2
  },
  "luminance": 0.03737
}

Semantic roles & 50–950 ramp

primary
#272491
secondary
#B8BA56
accent
#E344DF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272491

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

Preview Lab → · Contrast checker → · Palette generator →

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