#272690#272690

#272690 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.3% C 0.168 H 274.0°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#272690
RGBrgb(39, 38, 144)
HSLhsl(241, 58%, 36%)
HSVhsv(241, 74%, 56%)
CMYKcmyk(72.9%, 73.6%, 0%, 43.5%)
CIE-LABlab(23.10, 36.57, -57.88)
CIE-LCHlch(23.10, 68.47, 302.29°)
OKLaboklab(35.26% 0.0117 -0.1674)
OKLCHoklch(35.26% 0.168 274)
XYZxyz(6.5622, 3.8305, 26.7737)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272690 #8F9026
analogous
#265A90 #272690 #5C2690
triadic
#272690 #902726 #269027
tetradic
#272690 #90265A #8F9026 #26905C
square
#272690 #90265A #8F9026 #26905C
split-complementary
#272690 #905C26 #5A9026
monochromatic
#0D0C2F #1A1960 #272690 #3433C0 #5D5CD4

Accessibility & contrast

On white

11.89
#272690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#272690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272690
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272690#FFFFFF#000000##FFFFFF
##2726901.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272690;
/* rgb */ color: rgb(39, 38, 144);
/* oklch */ color: oklch(35.3% 0.168 274.0);
Tailwind
colors: {
  custom: {
    50: '#7261b2',
    500: '#272690',
    950: '#000000',
  },
}
SCSS
$custom: #272690;
$custom-light: #7261b2;
$custom-dark: #000000;
JSON
{
  "hex": "#272690",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 144
  },
  "hsl": {
    "h": 240.566,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35257,
    "c": 0.16779,
    "h": 274
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#272690
secondary
#B8B959
accent
#E146E0
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272690

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

Preview Lab → · Contrast checker → · Palette generator →

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