#272094#272094

#272094 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.179 H 274.5°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#272094
RGBrgb(39, 32, 148)
HSLhsl(244, 64%, 35%)
HSVhsv(244, 78%, 58%)
CMYKcmyk(73.6%, 78.4%, 0%, 42%)
CIE-LABlab(22.31, 41.39, -61.67)
CIE-LCHlch(22.31, 74.27, 303.87°)
OKLaboklab(34.82% 0.014 -0.1784)
OKLCHoklch(34.82% 0.179 274.5)
XYZxyz(6.6967, 3.6018, 28.3535)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272094 #8D9420
analogous
#205394 #272094 #612094
triadic
#272094 #942720 #209427
tetradic
#272094 #942053 #8D9420 #209461
square
#272094 #942053 #8D9420 #209461
split-complementary
#272094 #946120 #539420
monochromatic
#0C0A2F #1A1562 #272094 #342BC6 #5C54DA

Accessibility & contrast

On white

12.21
#272094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#272094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272094
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272094#FFFFFF#000000##FFFFFF
##2720941.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003092
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #272094;
/* rgb */ color: rgb(39, 32, 148);
/* oklch */ color: oklch(34.8% 0.179 274.5);
Tailwind
colors: {
  custom: {
    50: '#745eb5',
    500: '#272094',
    950: '#000000',
  },
}
SCSS
$custom: #272094;
$custom-light: #745eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#272094",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 243.621,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34823,
    "c": 0.17891,
    "h": 274.5
  },
  "luminance": 0.03602
}

Semantic roles & 50–950 ramp

primary
#272094
secondary
#B7BE52
accent
#E740DD
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090411
muted
#7B7980

Preview Lab

Preview with #272094

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

Preview Lab → · Contrast checker → · Palette generator →

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