#272484#272484

#272484 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.154 H 275.6°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#272484
RGBrgb(39, 36, 132)
HSLhsl(242, 57%, 33%)
HSVhsv(242, 73%, 52%)
CMYKcmyk(70.5%, 72.7%, 0%, 48.2%)
CIE-LABlab(21.43, 33.60, -53.15)
CIE-LCHlch(21.43, 62.88, 302.30°)
OKLaboklab(33.68% 0.015 -0.1536)
OKLCHoklch(33.68% 0.154 275.6)
XYZxyz(5.6311, 3.3585, 22.1768)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272484 #818424
analogous
#245184 #272484 #572484
triadic
#272484 #842724 #248427
tetradic
#272484 #842451 #818424 #248457
square
#272484 #842451 #818424 #248457
split-complementary
#272484 #845724 #518424
monochromatic
#0B0A24 #191754 #272484 #3531B4 #5652D0

Accessibility & contrast

On white

12.56
#272484 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#272484 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272484
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272484#FFFFFF#000000##FFFFFF
##2724841.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#002F82
Tritanopia (blue-blind)
#003E51
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #272484;
/* rgb */ color: rgb(39, 36, 132);
/* oklch */ color: oklch(33.7% 0.154 275.6);
Tailwind
colors: {
  custom: {
    50: '#6f60a9',
    500: '#272484',
    950: '#000000',
  },
}
SCSS
$custom: #272484;
$custom-light: #6f60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#272484",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 132
  },
  "hsl": {
    "h": 241.875,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33685,
    "c": 0.15429,
    "h": 275.6
  },
  "luminance": 0.03359
}

Semantic roles & 50–950 ramp

primary
#272484
secondary
#B1B450
accent
#E047DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #272484

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

Preview Lab → · Contrast checker → · Palette generator →

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