#272290#272290

#272290 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.172 H 274.6°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#272290
RGBrgb(39, 34, 144)
HSLhsl(243, 62%, 35%)
HSVhsv(243, 76%, 56%)
CMYKcmyk(72.9%, 76.4%, 0%, 43.5%)
CIE-LABlab(22.26, 38.93, -59.27)
CIE-LCHlch(22.26, 70.91, 303.30°)
OKLaboklab(34.66% 0.0139 -0.1714)
OKLCHoklch(34.66% 0.172 274.6)
XYZxyz(6.4411, 3.5884, 26.7333)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272290 #8B9022
analogous
#225490 #272290 #5E2290
triadic
#272290 #902722 #229027
tetradic
#272290 #902254 #8B9022 #22905E
square
#272290 #902254 #8B9022 #22905E
split-complementary
#272290 #905E22 #549022
monochromatic
#0C0B2D #1A165E #272290 #342EC2 #5B55D7

Accessibility & contrast

On white

12.22
#272290 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#272290 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272290
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272290#FFFFFF#000000##FFFFFF
##2722901.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004257
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #272290;
/* rgb */ color: rgb(39, 34, 144);
/* oklch */ color: oklch(34.7% 0.172 274.6);
Tailwind
colors: {
  custom: {
    50: '#725fb2',
    500: '#272290',
    950: '#000000',
  },
}
SCSS
$custom: #272290;
$custom-light: #725fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#272290",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 242.727,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34658,
    "c": 0.17197,
    "h": 274.6
  },
  "luminance": 0.03589
}

Semantic roles & 50–950 ramp

primary
#272290
secondary
#B6BB53
accent
#E543DE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272290

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

Preview Lab → · Contrast checker → · Palette generator →

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