#272380#272380

#272380 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.150 H 276.3°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#272380
RGBrgb(39, 35, 128)
HSLhsl(243, 57%, 32%)
HSVhsv(243, 73%, 50%)
CMYKcmyk(69.5%, 72.7%, 0%, 49.8%)
CIE-LABlab(20.79, 32.82, -51.66)
CIE-LCHlch(20.79, 61.20, 302.43°)
OKLaboklab(33.11% 0.0164 -0.1492)
OKLCHoklch(33.11% 0.15 276.3)
XYZxyz(5.3327, 3.1914, 20.7529)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272380 #7C8023
analogous
#234D80 #272380 #562380
triadic
#272380 #802723 #238027
tetradic
#272380 #80234D #7C8023 #238056
square
#272380 #80234D #7C8023 #238056
split-complementary
#272380 #805623 #4D8023
monochromatic
#0A0920 #181650 #272380 #3630B0 #544FCF

Accessibility & contrast

On white

12.82
#272380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#272380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272380
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272380#FFFFFF#000000##FFFFFF
##2723801.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #272380;
/* rgb */ color: rgb(39, 35, 128);
/* oklch */ color: oklch(33.1% 0.150 276.3);
Tailwind
colors: {
  custom: {
    50: '#6e5fa6',
    500: '#272380',
    950: '#000000',
  },
}
SCSS
$custom: #272380;
$custom-light: #6e5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#272380",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 242.581,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3311,
    "c": 0.15011,
    "h": 276.3
  },
  "luminance": 0.03192
}

Semantic roles & 50–950 ramp

primary
#272380
secondary
#AEB24D
accent
#E047DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #272380

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

Preview Lab → · Contrast checker → · Palette generator →

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