#272293#272293

#272293 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.0% C 0.176 H 274.3°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#272293
RGBrgb(39, 34, 147)
HSLhsl(243, 62%, 35%)
HSVhsv(243, 77%, 58%)
CMYKcmyk(73.5%, 76.9%, 0%, 42.4%)
CIE-LABlab(22.59, 39.94, -60.59)
CIE-LCHlch(22.59, 72.57, 303.40°)
OKLaboklab(34.99% 0.0133 -0.1752)
OKLCHoklch(34.99% 0.176 274.3)
XYZxyz(6.6734, 3.6813, 27.9570)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272293 #8E9322
analogous
#225593 #272293 #5F2293
triadic
#272293 #932722 #229327
tetradic
#272293 #932255 #8E9322 #22935F
square
#272293 #932255 #8E9322 #22935F
split-complementary
#272293 #935F22 #559322
monochromatic
#0D0B30 #1A1761 #272293 #342DC5 #5D57D8

Accessibility & contrast

On white

12.09
#272293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#272293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272293
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272293#FFFFFF#000000##FFFFFF
##2722931.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#004359
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272293;
/* rgb */ color: rgb(39, 34, 147);
/* oklch */ color: oklch(35.0% 0.176 274.3);
Tailwind
colors: {
  custom: {
    50: '#735fb4',
    500: '#272293',
    950: '#000000',
  },
}
SCSS
$custom: #272293;
$custom-light: #735fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#272293",
  "rgb": {
    "r": 39,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 242.655,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.34987,
    "c": 0.17574,
    "h": 274.3
  },
  "luminance": 0.03682
}

Semantic roles & 50–950 ramp

primary
#272293
secondary
#B8BC55
accent
#E542DE
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272293

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

Preview Lab → · Contrast checker → · Palette generator →

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