#272783#272783

#272783 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.149 H 275.0°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#272783
RGBrgb(39, 39, 131)
HSLhsl(240, 54%, 33%)
HSVhsv(240, 70%, 51%)
CMYKcmyk(70.2%, 70.2%, 0%, 48.6%)
CIE-LABlab(22.02, 31.35, -51.54)
CIE-LCHlch(22.02, 60.33, 301.31°)
OKLaboklab(34.08% 0.0131 -0.1489)
OKLCHoklch(34.08% 0.149 275)
XYZxyz(5.6576, 3.5205, 21.8497)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272783 #838327
analogous
#275583 #272783 #552783
triadic
#272783 #832727 #278327
tetradic
#272783 #832755 #838327 #278355
square
#272783 #832755 #838327 #278355
split-complementary
#272783 #835527 #558327
monochromatic
#0B0B25 #191954 #272783 #3535B2 #5757CD

Accessibility & contrast

On white

12.32
#272783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#272783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272783
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272783#FFFFFF#000000##FFFFFF
##2727831.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #272783;
/* rgb */ color: rgb(39, 39, 131);
/* oklch */ color: oklch(34.1% 0.149 275.0);
Tailwind
colors: {
  custom: {
    50: '#6f62a8',
    500: '#272783',
    950: '#000000',
  },
}
SCSS
$custom: #272783;
$custom-light: #6f62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#272783",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 131
  },
  "hsl": {
    "h": 240,
    "s": 54.118,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34081,
    "c": 0.14944,
    "h": 275
  },
  "luminance": 0.03521
}

Semantic roles & 50–950 ramp

primary
#272783
secondary
#B2B254
accent
#DD4ADD
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #272783

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

Preview Lab → · Contrast checker → · Palette generator →

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