#272492#272492

#272492 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.172 H 274.1°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#272492
RGBrgb(39, 36, 146)
HSLhsl(242, 60%, 36%)
HSVhsv(242, 75%, 57%)
CMYKcmyk(73.3%, 75.3%, 0%, 42.7%)
CIE-LABlab(22.89, 38.45, -59.47)
CIE-LCHlch(22.89, 70.82, 302.88°)
OKLaboklab(35.17% 0.0125 -0.172)
OKLCHoklch(35.17% 0.172 274.1)
XYZxyz(6.6542, 3.7678, 27.5651)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272492 #8F9224
analogous
#245892 #272492 #5E2492
triadic
#272492 #922724 #249227
tetradic
#272492 #922458 #8F9224 #24925E
square
#272492 #922458 #8F9224 #24925E
split-complementary
#272492 #925E24 #589224
monochromatic
#0D0C30 #1A1861 #272492 #3430C3 #5D5AD6

Accessibility & contrast

On white

11.98
#272492 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#272492 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272492
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272492#FFFFFF#000000##FFFFFF
##2724921.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C95
Deuteranopia (green-blind)
#003190
Tritanopia (blue-blind)
#004459
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272492;
/* rgb */ color: rgb(39, 36, 146);
/* oklch */ color: oklch(35.2% 0.172 274.1);
Tailwind
colors: {
  custom: {
    50: '#7360b3',
    500: '#272492',
    950: '#000000',
  },
}
SCSS
$custom: #272492;
$custom-light: #7360b3;
$custom-dark: #000000;
JSON
{
  "hex": "#272492",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 146
  },
  "hsl": {
    "h": 241.636,
    "s": 60.44,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35167,
    "c": 0.17246,
    "h": 274.1
  },
  "luminance": 0.03768
}

Semantic roles & 50–950 ramp

primary
#272492
secondary
#B8BB57
accent
#E444DF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272492

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

Preview Lab → · Contrast checker → · Palette generator →

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