#272893#272893

#272893 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.170 H 273.4°. Best body text is #FFFFFF at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#272893
RGBrgb(39, 40, 147)
HSLhsl(239, 58%, 36%)
HSVhsv(239, 73%, 58%)
CMYKcmyk(73.5%, 72.8%, 0%, 42.4%)
CIE-LABlab(23.85, 36.40, -58.50)
CIE-LCHlch(23.85, 68.90, 301.89°)
OKLaboklab(35.89% 0.0101 -0.1692)
OKLCHoklch(35.89% 0.17 273.4)
XYZxyz(6.8602, 4.0548, 28.0192)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272893 #939227
analogous
#275E93 #272893 #5C2793
triadic
#272893 #932728 #289327
tetradic
#272893 #93275E #939227 #27935C
square
#272893 #93275E #939227 #27935C
split-complementary
#272893 #935C27 #5E9327
monochromatic
#0D0E32 #1A1B63 #272893 #3435C3 #6061D5

Accessibility & contrast

On white

11.59
#272893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#272893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272893
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272893#FFFFFF#000000##FFFFFF
##2728931.0011.591.8111.59
#FFFFFF11.591.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272893;
/* rgb */ color: rgb(39, 40, 147);
/* oklch */ color: oklch(35.9% 0.170 273.4);
Tailwind
colors: {
  custom: {
    50: '#7363b4',
    500: '#272893',
    950: '#000000',
  },
}
SCSS
$custom: #272893;
$custom-light: #7363b4;
$custom-dark: #000000;
JSON
{
  "hex": "#272893",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 239.444,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35886,
    "c": 0.1695,
    "h": 273.4
  },
  "luminance": 0.04056
}

Semantic roles & 50–950 ramp

primary
#272893
secondary
#BAB95C
accent
#E047E1
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272893

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

Preview Lab → · Contrast checker → · Palette generator →

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