#272292#272292

#272292 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.9% C 0.174 H 274.4°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#272292
RGBrgb(39, 34, 146)
HSLhsl(243, 62%, 35%)
HSVhsv(243, 77%, 57%)
CMYKcmyk(73.3%, 76.7%, 0%, 42.7%)
CIE-LABlab(22.48, 39.61, -60.15)
CIE-LCHlch(22.48, 72.02, 303.36°)
OKLaboklab(34.88% 0.0135 -0.174)
OKLCHoklch(34.88% 0.174 274.4)
XYZxyz(6.5953, 3.6501, 27.5455)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272292 #8D9222
analogous
#225592 #272292 #5F2292
triadic
#272292 #922722 #229227
tetradic
#272292 #922255 #8D9222 #22925F
square
#272292 #922255 #8D9222 #22925F
split-complementary
#272292 #925F22 #559222
monochromatic
#0C0B2F #1A1660 #272292 #342EC4 #5C57D8

Accessibility & contrast

On white

12.14
#272292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272292
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272292#FFFFFF#000000##FFFFFF
##2722921.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003090
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272292;
/* rgb */ color: rgb(39, 34, 146);
/* oklch */ color: oklch(34.9% 0.174 274.4);
Tailwind
colors: {
  custom: {
    50: '#735fb3',
    500: '#272292',
    950: '#000000',
  },
}
SCSS
$custom: #272292;
$custom-light: #735fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#272292",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 242.679,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34877,
    "c": 0.17448,
    "h": 274.4
  },
  "luminance": 0.03651
}

Semantic roles & 50–950 ramp

primary
#272292
secondary
#B7BC54
accent
#E543DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272292

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

Preview Lab → · Contrast checker → · Palette generator →

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