#272393#272393

#272393 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 35.1% C 0.175 H 274.2°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#272393
RGBrgb(39, 35, 147)
HSLhsl(242, 62%, 36%)
HSVhsv(242, 76%, 58%)
CMYKcmyk(73.5%, 76.2%, 0%, 42.4%)
CIE-LABlab(22.79, 39.37, -60.25)
CIE-LCHlch(22.79, 71.98, 303.16°)
OKLaboklab(35.13% 0.0128 -0.1743)
OKLCHoklch(35.13% 0.175 274.2)
XYZxyz(6.7024, 3.7393, 27.9666)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272393 #8F9323
analogous
#235793 #272393 #5F2393
triadic
#272393 #932723 #239327
tetradic
#272393 #932357 #8F9323 #23935F
square
#272393 #932357 #8F9323 #23935F
split-complementary
#272393 #935F23 #579323
monochromatic
#0D0B30 #1A1762 #272393 #342FC4 #5D59D7

Accessibility & contrast

On white

12.01
#272393 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#272393 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272393
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272393#FFFFFF#000000##FFFFFF
##2723931.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272393;
/* rgb */ color: rgb(39, 35, 147);
/* oklch */ color: oklch(35.1% 0.175 274.2);
Tailwind
colors: {
  custom: {
    50: '#7360b4',
    500: '#272393',
    950: '#000000',
  },
}
SCSS
$custom: #272393;
$custom-light: #7360b4;
$custom-dark: #000000;
JSON
{
  "hex": "#272393",
  "rgb": {
    "r": 39,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 242.143,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3513,
    "c": 0.17475,
    "h": 274.2
  },
  "luminance": 0.0374
}

Semantic roles & 50–950 ramp

primary
#272393
secondary
#B8BC56
accent
#E543DF
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272393

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

Preview Lab → · Contrast checker → · Palette generator →

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