#272E91#272E91

#272E91 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.7% C 0.160 H 272.4°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#272E91
RGBrgb(39, 46, 145)
HSLhsl(236, 58%, 36%)
HSVhsv(236, 73%, 57%)
CMYKcmyk(73.1%, 68.3%, 0%, 43.1%)
CIE-LABlab(25.04, 31.91, -55.31)
CIE-LCHlch(25.04, 63.85, 299.98°)
OKLaboklab(36.68% 0.0066 -0.1599)
OKLCHoklch(36.68% 0.16 272.4)
XYZxyz(6.9228, 4.4290, 27.2726)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E91 #918A27
analogous
#276391 #272E91 #552791
triadic
#272E91 #91272E #2E9127
tetradic
#272E91 #912763 #918A27 #279155
square
#272E91 #912763 #918A27 #279155
split-complementary
#272E91 #915527 #639127
monochromatic
#0D0F31 #1A1F61 #272E91 #343DC1 #5F66D4

Accessibility & contrast

On white

11.13
#272E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#272E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E91
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E91#FFFFFF#000000##FFFFFF
##272E911.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.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: #272e91;
/* rgb */ color: rgb(39, 46, 145);
/* oklch */ color: oklch(36.7% 0.160 272.4);
Tailwind
colors: {
  custom: {
    50: '#7167b2',
    500: '#272e91',
    950: '#000000',
  },
}
SCSS
$custom: #272e91;
$custom-light: #7167b2;
$custom-dark: #000000;
JSON
{
  "hex": "#272e91",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 236.038,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36684,
    "c": 0.16002,
    "h": 272.4
  },
  "luminance": 0.0443
}

Semantic roles & 50–950 ramp

primary
#272E91
secondary
#B9B35B
accent
#D747E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272E91

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

Preview Lab → · Contrast checker → · Palette generator →

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