#272490#272490

#272490 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.170 H 274.3°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#272490
RGBrgb(39, 36, 144)
HSLhsl(242, 60%, 35%)
HSVhsv(242, 75%, 56%)
CMYKcmyk(72.9%, 75%, 0%, 43.5%)
CIE-LABlab(22.68, 37.77, -58.59)
CIE-LCHlch(22.68, 69.70, 302.81°)
OKLaboklab(34.95% 0.0129 -0.1694)
OKLCHoklch(34.95% 0.17 274.3)
XYZxyz(6.4999, 3.7061, 26.7529)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272490 #8D9024
analogous
#245790 #272490 #5D2490
triadic
#272490 #902724 #249027
tetradic
#272490 #902457 #8D9024 #24905D
square
#272490 #902457 #8D9024 #24905D
split-complementary
#272490 #905D24 #579024
monochromatic
#0C0C2E #1A185F #272490 #3430C1 #5C59D5

Accessibility & contrast

On white

12.06
#272490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272490
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272490#FFFFFF#000000##FFFFFF
##2724901.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272490;
/* rgb */ color: rgb(39, 36, 144);
/* oklch */ color: oklch(35.0% 0.170 274.3);
Tailwind
colors: {
  custom: {
    50: '#7260b2',
    500: '#272490',
    950: '#000000',
  },
}
SCSS
$custom: #272490;
$custom-light: #7260b2;
$custom-dark: #000000;
JSON
{
  "hex": "#272490",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 241.667,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34952,
    "c": 0.16992,
    "h": 274.3
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#272490
secondary
#B7BA56
accent
#E345DF
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272490

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

Preview Lab → · Contrast checker → · Palette generator →

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