#272180#272180

#272180 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.8% C 0.152 H 276.7°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#272180
RGBrgb(39, 33, 128)
HSLhsl(244, 59%, 32%)
HSVhsv(244, 74%, 50%)
CMYKcmyk(69.5%, 74.2%, 0%, 49.8%)
CIE-LABlab(20.35, 34.05, -52.39)
CIE-LCHlch(20.35, 62.48, 303.02°)
OKLaboklab(32.79% 0.0178 -0.1513)
OKLCHoklch(32.79% 0.152 276.7)
XYZxyz(5.2756, 3.0771, 20.7338)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272180 #7A8021
analogous
#214B80 #272180 #572180
triadic
#272180 #802721 #218027
tetradic
#272180 #80214B #7A8021 #218057
square
#272180 #80214B #7A8021 #218057
split-complementary
#272180 #805721 #4B8021
monochromatic
#09081F #18144F #272180 #362EB1 #534BD1

Accessibility & contrast

On white

13.00
#272180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#272180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272180
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272180#FFFFFF#000000##FFFFFF
##2721801.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003583
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #272180;
/* rgb */ color: rgb(39, 33, 128);
/* oklch */ color: oklch(32.8% 0.152 276.7);
Tailwind
colors: {
  custom: {
    50: '#6f5da6',
    500: '#272180',
    950: '#000000',
  },
}
SCSS
$custom: #272180;
$custom-light: #6f5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#272180",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 243.789,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32792,
    "c": 0.15238,
    "h": 276.7
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#272180
secondary
#ACB34A
accent
#E246D8
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #272180

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

Preview Lab → · Contrast checker → · Palette generator →

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