#272D91#272D91

#272D91 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.161 H 272.6°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#272D91
RGBrgb(39, 45, 145)
HSLhsl(237, 58%, 36%)
HSVhsv(237, 73%, 57%)
CMYKcmyk(73.1%, 69%, 0%, 43.1%)
CIE-LABlab(24.80, 32.55, -55.70)
CIE-LCHlch(24.80, 64.52, 300.30°)
OKLaboklab(36.51% 0.0073 -0.161)
OKLCHoklch(36.51% 0.161 272.6)
XYZxyz(6.8842, 4.3518, 27.2597)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D91 #918B27
analogous
#276291 #272D91 #562791
triadic
#272D91 #91272D #2D9127
tetradic
#272D91 #912762 #918B27 #279156
square
#272D91 #912762 #918B27 #279156
split-complementary
#272D91 #915627 #629127
monochromatic
#0D0F31 #1A1E61 #272D91 #343CC1 #5F65D4

Accessibility & contrast

On white

11.23
#272D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#272D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272D91
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D91#FFFFFF#000000##FFFFFF
##272D911.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #272d91;
/* rgb */ color: rgb(39, 45, 145);
/* oklch */ color: oklch(36.5% 0.161 272.6);
Tailwind
colors: {
  custom: {
    50: '#7266b2',
    500: '#272d91',
    950: '#000000',
  },
}
SCSS
$custom: #272d91;
$custom-light: #7266b2;
$custom-dark: #000000;
JSON
{
  "hex": "#272d91",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 236.604,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3651,
    "c": 0.16119,
    "h": 272.6
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#272D91
secondary
#B9B45B
accent
#D847E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272D91

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

Preview Lab → · Contrast checker → · Palette generator →

#272D91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva