#272499#272499

#272499 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.9% C 0.181 H 273.5°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#272499
RGBrgb(39, 36, 153)
HSLhsl(242, 62%, 37%)
HSVhsv(242, 76%, 60%)
CMYKcmyk(74.5%, 76.5%, 0%, 40%)
CIE-LABlab(23.65, 40.82, -62.54)
CIE-LCHlch(23.65, 74.68, 303.14°)
OKLaboklab(35.93% 0.0111 -0.1809)
OKLCHoklch(35.93% 0.181 273.5)
XYZxyz(7.2154, 3.9923, 30.5211)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272499 #969924
analogous
#245C99 #272499 #612499
triadic
#272499 #992724 #249927
tetradic
#272499 #99245C #969924 #249961
square
#272499 #99245C #969924 #249961
split-complementary
#272499 #996124 #5C9924
monochromatic
#0E0D36 #1A1867 #272499 #3430CB #615ED9

Accessibility & contrast

On white

11.68
#272499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#272499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272499
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272499#FFFFFF#000000##FFFFFF
##2724991.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E9C
Deuteranopia (green-blind)
#003397
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #272499;
/* rgb */ color: rgb(39, 36, 153);
/* oklch */ color: oklch(35.9% 0.181 273.5);
Tailwind
colors: {
  custom: {
    50: '#7461b8',
    500: '#272499',
    950: '#000000',
  },
}
SCSS
$custom: #272499;
$custom-light: #7461b8;
$custom-dark: #000000;
JSON
{
  "hex": "#272499",
  "rgb": {
    "r": 39,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 241.538,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.35929,
    "c": 0.18127,
    "h": 273.5
  },
  "luminance": 0.03993
}

Semantic roles & 50–950 ramp

primary
#272499
secondary
#BCBE5B
accent
#E543E1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #272499

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

Preview Lab → · Contrast checker → · Palette generator →

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