#272E93#272E93

#272E93 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.163 H 272.3°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#272E93
RGBrgb(39, 46, 147)
HSLhsl(236, 58%, 36%)
HSVhsv(236, 73%, 58%)
CMYKcmyk(73.5%, 68.7%, 0%, 42.4%)
CIE-LABlab(25.23, 32.63, -56.23)
CIE-LCHlch(25.23, 65.01, 300.13°)
OKLaboklab(36.88% 0.0064 -0.1626)
OKLCHoklch(36.88% 0.163 272.3)
XYZxyz(7.0784, 4.4912, 28.0920)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272E93 #938C27
analogous
#276493 #272E93 #562793
triadic
#272E93 #93272E #2E9327
tetradic
#272E93 #932764 #938C27 #279356
square
#272E93 #932764 #938C27 #279356
split-complementary
#272E93 #935627 #649327
monochromatic
#0D1032 #1A1F63 #272E93 #343DC3 #6067D5

Accessibility & contrast

On white

11.06
#272E93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#272E93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272E93
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272E93#FFFFFF#000000##FFFFFF
##272E931.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004196
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#00495C
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #272e93;
/* rgb */ color: rgb(39, 46, 147);
/* oklch */ color: oklch(36.9% 0.163 272.3);
Tailwind
colors: {
  custom: {
    50: '#7267b4',
    500: '#272e93',
    950: '#000000',
  },
}
SCSS
$custom: #272e93;
$custom-light: #7267b4;
$custom-dark: #000000;
JSON
{
  "hex": "#272e93",
  "rgb": {
    "r": 39,
    "g": 46,
    "b": 147
  },
  "hsl": {
    "h": 236.111,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36881,
    "c": 0.1627,
    "h": 272.3
  },
  "luminance": 0.04492
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272E93

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

Preview Lab → · Contrast checker → · Palette generator →

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