#272495#272495

#272495 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.176 H 273.9°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#272495
RGBrgb(39, 36, 149)
HSLhsl(242, 61%, 36%)
HSVhsv(242, 76%, 58%)
CMYKcmyk(73.8%, 75.8%, 0%, 41.6%)
CIE-LABlab(23.21, 39.47, -60.79)
CIE-LCHlch(23.21, 72.48, 303.00°)
OKLaboklab(35.49% 0.0119 -0.1759)
OKLCHoklch(35.49% 0.176 273.9)
XYZxyz(6.8906, 3.8623, 28.8103)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272495 #929524
analogous
#245A95 #272495 #602495
triadic
#272495 #952724 #249527
tetradic
#272495 #95245A #929524 #249560
square
#272495 #95245A #929524 #249560
split-complementary
#272495 #956024 #5A9524
monochromatic
#0D0C32 #1A1864 #272495 #3430C6 #5F5CD8

Accessibility & contrast

On white

11.85
#272495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272495
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272495#FFFFFF#000000##FFFFFF
##2724951.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272495;
/* rgb */ color: rgb(39, 36, 149);
/* oklch */ color: oklch(35.5% 0.176 273.9);
Tailwind
colors: {
  custom: {
    50: '#7360b5',
    500: '#272495',
    950: '#000000',
  },
}
SCSS
$custom: #272495;
$custom-light: #7360b5;
$custom-dark: #000000;
JSON
{
  "hex": "#272495",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 241.593,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.35492,
    "c": 0.17626,
    "h": 273.9
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272495

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

Preview Lab → · Contrast checker → · Palette generator →

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