#272182#272182

#272182 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 33.0% C 0.155 H 276.4°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#272182
RGBrgb(39, 33, 130)
HSLhsl(244, 60%, 32%)
HSVhsv(244, 75%, 51%)
CMYKcmyk(70%, 74.6%, 0%, 49%)
CIE-LABlab(20.56, 34.74, -53.31)
CIE-LCHlch(20.56, 63.63, 303.09°)
OKLaboklab(33% 0.0174 -0.154)
OKLCHoklch(33% 0.155 276.4)
XYZxyz(5.4085, 3.1303, 21.4339)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272182 #7C8221
analogous
#214C82 #272182 #582182
triadic
#272182 #822721 #218227
tetradic
#272182 #82214C #7C8221 #218258
square
#272182 #82214C #7C8221 #218258
split-complementary
#272182 #825821 #4C8221
monochromatic
#0A0820 #181551 #272182 #362DB3 #544CD2

Accessibility & contrast

On white

12.91
#272182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#272182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272182
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272182#FFFFFF#000000##FFFFFF
##2721821.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272182;
/* rgb */ color: rgb(39, 33, 130);
/* oklch */ color: oklch(33.0% 0.155 276.4);
Tailwind
colors: {
  custom: {
    50: '#6f5ea7',
    500: '#272182',
    950: '#000000',
  },
}
SCSS
$custom: #272182;
$custom-light: #6f5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#272182",
  "rgb": {
    "r": 39,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 243.711,
    "s": 59.509,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33003,
    "c": 0.15501,
    "h": 276.4
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#272182
secondary
#AEB44A
accent
#E345D9
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #272182

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

Preview Lab → · Contrast checker → · Palette generator →

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