#272983#272983

#272983 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.147 H 274.5°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#272983
RGBrgb(39, 41, 131)
HSLhsl(239, 54%, 33%)
HSVhsv(239, 70%, 51%)
CMYKcmyk(70.2%, 68.7%, 0%, 48.6%)
CIE-LABlab(22.50, 30.06, -50.76)
CIE-LCHlch(22.50, 58.99, 300.63°)
OKLaboklab(34.43% 0.0116 -0.1466)
OKLCHoklch(34.43% 0.147 274.5)
XYZxyz(5.7250, 3.6554, 21.8722)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272983 #838127
analogous
#275783 #272983 #532783
triadic
#272983 #832729 #298327
tetradic
#272983 #832757 #838127 #278353
square
#272983 #832757 #838127 #278353
split-complementary
#272983 #835327 #578327
monochromatic
#0B0B25 #191A54 #272983 #3538B2 #575ACD

Accessibility & contrast

On white

12.13
#272983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#272983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272983
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272983#FFFFFF#000000##FFFFFF
##2729831.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272983;
/* rgb */ color: rgb(39, 41, 131);
/* oklch */ color: oklch(34.4% 0.147 274.5);
Tailwind
colors: {
  custom: {
    50: '#6f63a8',
    500: '#272983',
    950: '#000000',
  },
}
SCSS
$custom: #272983;
$custom-light: #6f63a8;
$custom-dark: #000000;
JSON
{
  "hex": "#272983",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 238.696,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34428,
    "c": 0.14703,
    "h": 274.5
  },
  "luminance": 0.03656
}

Semantic roles & 50–950 ramp

primary
#272983
secondary
#B2B054
accent
#DA4ADD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #272983

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

Preview Lab → · Contrast checker → · Palette generator →

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