#272090#272090

#272090 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.4% C 0.174 H 274.9°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#272090
RGBrgb(39, 32, 144)
HSLhsl(244, 64%, 35%)
HSVhsv(244, 78%, 56%)
CMYKcmyk(72.9%, 77.8%, 0%, 43.5%)
CIE-LABlab(21.86, 40.06, -59.93)
CIE-LCHlch(21.86, 72.08, 303.76°)
OKLaboklab(34.38% 0.015 -0.1733)
OKLCHoklch(34.38% 0.174 274.9)
XYZxyz(6.3856, 3.4774, 26.7148)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272090 #899020
analogous
#205190 #272090 #5F2090
triadic
#272090 #902720 #209027
tetradic
#272090 #902051 #899020 #20905F
square
#272090 #902051 #899020 #20905F
split-complementary
#272090 #905F20 #519020
monochromatic
#0C0A2C #19155E #272090 #352BC2 #5A52D9

Accessibility & contrast

On white

12.38
#272090 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#272090 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272090
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272090#FFFFFF#000000##FFFFFF
##2720901.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003993
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #272090;
/* rgb */ color: rgb(39, 32, 144);
/* oklch */ color: oklch(34.4% 0.174 274.9);
Tailwind
colors: {
  custom: {
    50: '#735eb2',
    500: '#272090',
    950: '#000000',
  },
}
SCSS
$custom: #272090;
$custom-light: #735eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#272090",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 144
  },
  "hsl": {
    "h": 243.75,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34377,
    "c": 0.17394,
    "h": 274.9
  },
  "luminance": 0.03478
}

Semantic roles & 50–950 ramp

primary
#272090
secondary
#B5BC50
accent
#E741DC
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #272090

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

Preview Lab → · Contrast checker → · Palette generator →

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