#272494#272494

#272494 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.4% C 0.175 H 274.0°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#272494
RGBrgb(39, 36, 148)
HSLhsl(242, 61%, 36%)
HSVhsv(242, 76%, 58%)
CMYKcmyk(73.6%, 75.7%, 0%, 42%)
CIE-LABlab(23.10, 39.13, -60.35)
CIE-LCHlch(23.10, 71.93, 302.96°)
OKLaboklab(35.38% 0.0121 -0.1746)
OKLCHoklch(35.38% 0.175 274)
XYZxyz(6.8111, 3.8305, 28.3916)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272494 #919424
analogous
#245994 #272494 #5F2494
triadic
#272494 #942724 #249427
tetradic
#272494 #942459 #919424 #24945F
square
#272494 #942459 #919424 #24945F
split-complementary
#272494 #945F24 #599424
monochromatic
#0D0C32 #1A1863 #272494 #3430C5 #5F5BD7

Accessibility & contrast

On white

11.89
#272494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#272494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272494
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272494#FFFFFF#000000##FFFFFF
##2724941.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C97
Deuteranopia (green-blind)
#003292
Tritanopia (blue-blind)
#00445A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272494;
/* rgb */ color: rgb(39, 36, 148);
/* oklch */ color: oklch(35.4% 0.175 274.0);
Tailwind
colors: {
  custom: {
    50: '#7360b5',
    500: '#272494',
    950: '#000000',
  },
}
SCSS
$custom: #272494;
$custom-light: #7360b5;
$custom-dark: #000000;
JSON
{
  "hex": "#272494",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 148
  },
  "hsl": {
    "h": 241.607,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35384,
    "c": 0.175,
    "h": 274
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#272494
secondary
#B9BC58
accent
#E444E0
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272494

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

Preview Lab → · Contrast checker → · Palette generator →

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