#272282#272282

#272282 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.154 H 276.2°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#272282
RGBrgb(39, 34, 130)
HSLhsl(243, 59%, 32%)
HSVhsv(243, 74%, 51%)
CMYKcmyk(70%, 73.8%, 0%, 49%)
CIE-LABlab(20.78, 34.13, -52.95)
CIE-LCHlch(20.78, 63.00, 302.80°)
OKLaboklab(33.16% 0.0167 -0.153)
OKLCHoklch(33.16% 0.154 276.2)
XYZxyz(5.4367, 3.1866, 21.4433)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272282 #7D8222
analogous
#224D82 #272282 #572282
triadic
#272282 #822722 #228227
tetradic
#272282 #82224D #7D8222 #228257
square
#272282 #82224D #7D8222 #228257
split-complementary
#272282 #825722 #4D8222
monochromatic
#0A0921 #181551 #272282 #362FB3 #554ED1

Accessibility & contrast

On white

12.83
#272282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272282
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272282#FFFFFF#000000##FFFFFF
##2722821.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272282;
/* rgb */ color: rgb(39, 34, 130);
/* oklch */ color: oklch(33.2% 0.154 276.2);
Tailwind
colors: {
  custom: {
    50: '#6f5ea7',
    500: '#272282',
    950: '#000000',
  },
}
SCSS
$custom: #272282;
$custom-light: #6f5ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#272282",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 243.125,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33159,
    "c": 0.1539,
    "h": 276.2
  },
  "luminance": 0.03187
}

Semantic roles & 50–950 ramp

primary
#272282
secondary
#AFB44C
accent
#E246DA
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #272282

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

Preview Lab → · Contrast checker → · Palette generator →

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