#272286#272286

#272286 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.159 H 275.8°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#272286
RGBrgb(39, 34, 134)
HSLhsl(243, 60%, 33%)
HSVhsv(243, 75%, 53%)
CMYKcmyk(70.9%, 74.6%, 0%, 47.5%)
CIE-LABlab(21.19, 35.52, -54.79)
CIE-LCHlch(21.19, 65.29, 302.95°)
OKLaboklab(33.58% 0.016 -0.1583)
OKLCHoklch(33.58% 0.159 275.8)
XYZxyz(5.7104, 3.2961, 22.8849)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272286 #818622
analogous
#224F86 #272286 #592286
triadic
#272286 #862722 #228627
tetradic
#272286 #86224F #818622 #228659
square
#272286 #86224F #818622 #228659
split-complementary
#272286 #865922 #4F8622
monochromatic
#0B0924 #191655 #272286 #352EB7 #5650D3

Accessibility & contrast

On white

12.66
#272286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#272286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272286
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272286#FFFFFF#000000##FFFFFF
##2722861.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#002E84
Tritanopia (blue-blind)
#003E52
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #272286;
/* rgb */ color: rgb(39, 34, 134);
/* oklch */ color: oklch(33.6% 0.159 275.8);
Tailwind
colors: {
  custom: {
    50: '#705eaa',
    500: '#272286',
    950: '#000000',
  },
}
SCSS
$custom: #272286;
$custom-light: #705eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#272286",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 243,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.33581,
    "c": 0.15914,
    "h": 275.8
  },
  "luminance": 0.03297
}

Semantic roles & 50–950 ramp

primary
#272286
secondary
#B1B64E
accent
#E345DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #272286

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

Preview Lab → · Contrast checker → · Palette generator →

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