#272996#272996

#272996 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.172 H 273.0°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#272996
RGBrgb(39, 41, 150)
HSLhsl(239, 59%, 37%)
HSVhsv(239, 74%, 59%)
CMYKcmyk(74%, 72.7%, 0%, 41.2%)
CIE-LABlab(24.38, 36.84, -59.48)
CIE-LCHlch(24.38, 69.97, 301.78°)
OKLaboklab(36.36% 0.0091 -0.1721)
OKLCHoklch(36.36% 0.172 273)
XYZxyz(7.1328, 4.2185, 29.2866)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272996 #969427
analogous
#276196 #272996 #5D2796
triadic
#272996 #962729 #299627
tetradic
#272996 #962761 #969427 #27965D
square
#272996 #962761 #969427 #27965D
split-complementary
#272996 #965D27 #619627
monochromatic
#0E0E35 #1A1C65 #272996 #3436C7 #6163D6

Accessibility & contrast

On white

11.39
#272996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#272996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272996
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272996#FFFFFF#000000##FFFFFF
##2729961.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F99
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272996;
/* rgb */ color: rgb(39, 41, 150);
/* oklch */ color: oklch(36.4% 0.172 273.0);
Tailwind
colors: {
  custom: {
    50: '#7364b6',
    500: '#272996',
    950: '#000000',
  },
}
SCSS
$custom: #272996;
$custom-light: #7364b6;
$custom-dark: #000000;
JSON
{
  "hex": "#272996",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 150
  },
  "hsl": {
    "h": 238.919,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36357,
    "c": 0.1723,
    "h": 273
  },
  "luminance": 0.04219
}

Semantic roles & 50–950 ramp

primary
#272996
secondary
#BCBA5D
accent
#DF46E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #272996

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

Preview Lab → · Contrast checker → · Palette generator →

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