#272485#272485

#272485 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.156 H 275.5°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#272485
RGBrgb(39, 36, 133)
HSLhsl(242, 57%, 33%)
HSVhsv(242, 73%, 52%)
CMYKcmyk(70.7%, 72.9%, 0%, 47.8%)
CIE-LABlab(21.53, 33.95, -53.61)
CIE-LCHlch(21.53, 63.45, 302.35°)
OKLaboklab(33.79% 0.0149 -0.1549)
OKLCHoklch(33.79% 0.156 275.5)
XYZxyz(5.6998, 3.3860, 22.5389)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272485 #828524
analogous
#245185 #272485 #572485
triadic
#272485 #852724 #248527
tetradic
#272485 #852451 #828524 #248557
square
#272485 #852451 #828524 #248557
split-complementary
#272485 #855724 #518524
monochromatic
#0B0A25 #191755 #272485 #3531B5 #5753D0

Accessibility & contrast

On white

12.52
#272485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#272485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272485
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272485#FFFFFF#000000##FFFFFF
##2724851.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272485;
/* rgb */ color: rgb(39, 36, 133);
/* oklch */ color: oklch(33.8% 0.156 275.5);
Tailwind
colors: {
  custom: {
    50: '#7060aa',
    500: '#272485',
    950: '#000000',
  },
}
SCSS
$custom: #272485;
$custom-light: #7060aa;
$custom-dark: #000000;
JSON
{
  "hex": "#272485",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 241.856,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33789,
    "c": 0.15561,
    "h": 275.5
  },
  "luminance": 0.03387
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272485

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

Preview Lab → · Contrast checker → · Palette generator →

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