#272596#272596

#272596 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.7% C 0.176 H 273.6°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#272596
RGBrgb(39, 37, 150)
HSLhsl(241, 60%, 37%)
HSVhsv(241, 75%, 59%)
CMYKcmyk(74%, 75.3%, 0%, 41.2%)
CIE-LABlab(23.52, 39.23, -60.89)
CIE-LCHlch(23.52, 72.44, 302.79°)
OKLaboklab(35.75% 0.0112 -0.1761)
OKLCHoklch(35.75% 0.177 273.6)
XYZxyz(7.0015, 3.9558, 29.2428)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272596 #949625
analogous
#255C96 #272596 #602596
triadic
#272596 #962725 #259627
tetradic
#272596 #96255C #949625 #259660
square
#272596 #96255C #949625 #259660
split-complementary
#272596 #966025 #5C9625
monochromatic
#0D0D34 #1A1965 #272596 #3431C7 #605ED7

Accessibility & contrast

On white

11.72
#272596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#272596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272596
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272596#FFFFFF#000000##FFFFFF
##2725961.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D99
Deuteranopia (green-blind)
#003394
Tritanopia (blue-blind)
#00465B
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #272596;
/* rgb */ color: rgb(39, 37, 150);
/* oklch */ color: oklch(35.7% 0.176 273.6);
Tailwind
colors: {
  custom: {
    50: '#7461b6',
    500: '#272596',
    950: '#000000',
  },
}
SCSS
$custom: #272596;
$custom-light: #7461b6;
$custom-dark: #000000;
JSON
{
  "hex": "#272596",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 241.062,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.35747,
    "c": 0.1765,
    "h": 273.6
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#272596
secondary
#BBBC5B
accent
#E444E1
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #272596

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

Preview Lab → · Contrast checker → · Palette generator →

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