#272686#272686

#272686 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.2% C 0.155 H 275.0°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#272686
RGBrgb(39, 38, 134)
HSLhsl(241, 56%, 34%)
HSVhsv(241, 72%, 53%)
CMYKcmyk(70.9%, 71.6%, 0%, 47.5%)
CIE-LABlab(22.08, 33.06, -53.32)
CIE-LCHlch(22.08, 62.74, 301.80°)
OKLaboklab(34.22% 0.0134 -0.1541)
OKLCHoklch(34.22% 0.155 275)
XYZxyz(5.8315, 3.5383, 22.9253)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272686 #858626
analogous
#265586 #272686 #572686
triadic
#272686 #862726 #268627
tetradic
#272686 #862655 #858626 #268657
square
#272686 #862655 #858626 #268657
split-complementary
#272686 #865726 #558626
monochromatic
#0B0B27 #191856 #272686 #3534B6 #5857CF

Accessibility & contrast

On white

12.30
#272686 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#272686 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272686
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272686#FFFFFF#000000##FFFFFF
##2726861.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#003084
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #272686;
/* rgb */ color: rgb(39, 38, 134);
/* oklch */ color: oklch(34.2% 0.155 275.0);
Tailwind
colors: {
  custom: {
    50: '#7061aa',
    500: '#272686',
    950: '#000000',
  },
}
SCSS
$custom: #272686;
$custom-light: #7061aa;
$custom-dark: #000000;
JSON
{
  "hex": "#272686",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 134
  },
  "hsl": {
    "h": 240.625,
    "s": 55.814,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34217,
    "c": 0.15466,
    "h": 275
  },
  "luminance": 0.03539
}

Semantic roles & 50–950 ramp

primary
#272686
secondary
#B3B454
accent
#DF49DE
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #272686

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

Preview Lab → · Contrast checker → · Palette generator →

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