#272894#272894

#272894 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.0% C 0.171 H 273.3°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#272894
RGBrgb(39, 40, 148)
HSLhsl(239, 58%, 37%)
HSVhsv(239, 74%, 58%)
CMYKcmyk(73.6%, 73%, 0%, 42%)
CIE-LABlab(23.95, 36.75, -58.95)
CIE-LCHlch(23.95, 69.47, 301.94°)
OKLaboklab(35.99% 0.0099 -0.1705)
OKLCHoklch(35.99% 0.171 273.3)
XYZxyz(6.9390, 4.0863, 28.4343)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272894 #949327
analogous
#275F94 #272894 #5D2794
triadic
#272894 #942728 #289427
tetradic
#272894 #94275F #949327 #27945D
square
#272894 #94275F #949327 #27945D
split-complementary
#272894 #945D27 #5F9427
monochromatic
#0D0E33 #1A1B64 #272894 #3435C4 #6061D5

Accessibility & contrast

On white

11.55
#272894 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#272894 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272894
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272894#FFFFFF#000000##FFFFFF
##2728941.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272894;
/* rgb */ color: rgb(39, 40, 148);
/* oklch */ color: oklch(36.0% 0.171 273.3);
Tailwind
colors: {
  custom: {
    50: '#7363b5',
    500: '#272894',
    950: '#000000',
  },
}
SCSS
$custom: #272894;
$custom-light: #7363b5;
$custom-dark: #000000;
JSON
{
  "hex": "#272894",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 239.45,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.3599,
    "c": 0.1708,
    "h": 273.3
  },
  "luminance": 0.04087
}

Semantic roles & 50–950 ramp

primary
#272894
secondary
#BBBA5C
accent
#E046E2
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272894

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

Preview Lab → · Contrast checker → · Palette generator →

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