#272489#272489

#272489 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.161 H 275.0°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#272489
RGBrgb(39, 36, 137)
HSLhsl(242, 58%, 34%)
HSVhsv(242, 74%, 54%)
CMYKcmyk(71.5%, 73.7%, 0%, 46.3%)
CIE-LABlab(21.94, 35.35, -55.44)
CIE-LCHlch(21.94, 65.75, 302.52°)
OKLaboklab(34.21% 0.0142 -0.1602)
OKLCHoklch(34.21% 0.161 275)
XYZxyz(5.9814, 3.4987, 24.0221)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272489 #868924
analogous
#245489 #272489 #5A2489
triadic
#272489 #892724 #248927
tetradic
#272489 #892454 #868924 #24895A
square
#272489 #892454 #868924 #24895A
split-complementary
#272489 #895A24 #548924
monochromatic
#0B0B28 #191759 #272489 #3531B9 #5955D2

Accessibility & contrast

On white

12.35
#272489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#272489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272489
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272489#FFFFFF#000000##FFFFFF
##2724891.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398C
Deuteranopia (green-blind)
#003087
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #272489;
/* rgb */ color: rgb(39, 36, 137);
/* oklch */ color: oklch(34.2% 0.161 275.0);
Tailwind
colors: {
  custom: {
    50: '#7060ac',
    500: '#272489',
    950: '#000000',
  },
}
SCSS
$custom: #272489;
$custom-light: #7060ac;
$custom-dark: #000000;
JSON
{
  "hex": "#272489",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 241.782,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34207,
    "c": 0.16087,
    "h": 275
  },
  "luminance": 0.03499
}

Semantic roles & 50–950 ramp

primary
#272489
secondary
#B4B752
accent
#E246DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #272489

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

Preview Lab → · Contrast checker → · Palette generator →

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