#272680#272680

#272680 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.147 H 275.6°. Best body text is #FFFFFF at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#272680
RGBrgb(39, 38, 128)
HSLhsl(241, 54%, 33%)
HSVhsv(241, 70%, 50%)
CMYKcmyk(69.5%, 70.3%, 0%, 49.8%)
CIE-LABlab(21.49, 30.92, -50.52)
CIE-LCHlch(21.49, 59.23, 301.47°)
OKLaboklab(33.61% 0.0142 -0.1459)
OKLCHoklch(33.61% 0.147 275.6)
XYZxyz(5.4248, 3.3756, 20.7836)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272680 #7F8026
analogous
#265280 #272680 #542680
triadic
#272680 #802726 #268027
tetradic
#272680 #802652 #7F8026 #268054
square
#272680 #802652 #7F8026 #268054
split-complementary
#272680 #805426 #528026
monochromatic
#0A0A22 #191851 #272680 #3534AF #5554CC

Accessibility & contrast

On white

12.54
#272680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#272680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272680
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272680#FFFFFF#000000##FFFFFF
##2726801.0012.541.6812.54
#FFFFFF12.541.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003883
Deuteranopia (green-blind)
#002F7E
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #272680;
/* rgb */ color: rgb(39, 38, 128);
/* oklch */ color: oklch(33.6% 0.147 275.6);
Tailwind
colors: {
  custom: {
    50: '#6e61a6',
    500: '#272680',
    950: '#000000',
  },
}
SCSS
$custom: #272680;
$custom-light: #6e61a6;
$custom-dark: #000000;
JSON
{
  "hex": "#272680",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 128
  },
  "hsl": {
    "h": 240.667,
    "s": 54.217,
    "l": 32.549
  },
  "oklch": {
    "l": 0.3361,
    "c": 0.14657,
    "h": 275.6
  },
  "luminance": 0.03376
}

Semantic roles & 50–950 ramp

primary
#272680
secondary
#B0B151
accent
#DE4ADC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #272680

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

Preview Lab → · Contrast checker → · Palette generator →

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