#272585#272585

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

Color values

HEX#272585
RGBrgb(39, 37, 133)
HSLhsl(241, 56%, 33%)
HSVhsv(241, 72%, 52%)
CMYKcmyk(70.7%, 72.2%, 0%, 47.8%)
CIE-LABlab(21.75, 33.33, -53.24)
CIE-LCHlch(21.75, 62.81, 302.05°)
OKLaboklab(33.95% 0.0142 -0.1538)
OKLCHoklch(33.95% 0.154 275.3)
XYZxyz(5.7305, 3.4474, 22.5492)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272585 #838525
analogous
#255385 #272585 #572585
triadic
#272585 #852725 #258527
tetradic
#272585 #852553 #838525 #258557
square
#272585 #852553 #838525 #258557
split-complementary
#272585 #855725 #538525
monochromatic
#0B0A25 #191855 #272585 #3532B5 #5755D0

Accessibility & contrast

On white

12.43
#272585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#272585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272585
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272585#FFFFFF#000000##FFFFFF
##2725851.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003888
Deuteranopia (green-blind)
#003083
Tritanopia (blue-blind)
#003F52
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #272585;
/* rgb */ color: rgb(39, 37, 133);
/* oklch */ color: oklch(34.0% 0.154 275.3);
Tailwind
colors: {
  custom: {
    50: '#6f60a9',
    500: '#272585',
    950: '#000000',
  },
}
SCSS
$custom: #272585;
$custom-light: #6f60a9;
$custom-dark: #000000;
JSON
{
  "hex": "#272585",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 241.25,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33951,
    "c": 0.15447,
    "h": 275.3
  },
  "luminance": 0.03448
}

Semantic roles & 50–950 ramp

primary
#272585
secondary
#B2B452
accent
#E048DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #272585

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

Preview Lab → · Contrast checker → · Palette generator →

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