#272990#272990

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

Color values

HEX#272990
RGBrgb(39, 41, 144)
HSLhsl(239, 57%, 36%)
HSVhsv(239, 73%, 56%)
CMYKcmyk(72.9%, 71.5%, 0%, 43.5%)
CIE-LABlab(23.77, 34.73, -56.78)
CIE-LCHlch(23.77, 66.56, 301.45°)
OKLaboklab(35.74% 0.01 -0.1642)
OKLCHoklch(35.74% 0.164 273.5)
XYZxyz(6.6620, 4.0302, 26.8070)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272990 #908E27
analogous
#275D90 #272990 #592790
triadic
#272990 #902729 #299027
tetradic
#272990 #90275D #908E27 #279059
square
#272990 #90275D #908E27 #279059
split-complementary
#272990 #905927 #5D9027
monochromatic
#0D0E30 #1A1B60 #272990 #3437C0 #5E60D3

Accessibility & contrast

On white

11.63
#272990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#272990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272990
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272990#FFFFFF#000000##FFFFFF
##2729901.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00348E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272990;
/* rgb */ color: rgb(39, 41, 144);
/* oklch */ color: oklch(35.7% 0.164 273.5);
Tailwind
colors: {
  custom: {
    50: '#7263b2',
    500: '#272990',
    950: '#000000',
  },
}
SCSS
$custom: #272990;
$custom-light: #7263b2;
$custom-dark: #000000;
JSON
{
  "hex": "#272990",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 238.857,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35736,
    "c": 0.16448,
    "h": 273.5
  },
  "luminance": 0.04031
}

Semantic roles & 50–950 ramp

primary
#272990
secondary
#B9B75A
accent
#DE47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #272990

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

Preview Lab → · Contrast checker → · Palette generator →

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