#272C93#272C93

#272C93 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.165 H 272.7°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#272C93
RGBrgb(39, 44, 147)
HSLhsl(237, 58%, 36%)
HSVhsv(237, 73%, 58%)
CMYKcmyk(73.5%, 70.1%, 0%, 42.4%)
CIE-LABlab(24.76, 33.91, -57.01)
CIE-LCHlch(24.76, 66.33, 300.75°)
OKLaboklab(36.54% 0.0077 -0.1648)
OKLCHoklch(36.54% 0.165 272.7)
XYZxyz(7.0021, 4.3386, 28.0665)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C93 #938E27
analogous
#276293 #272C93 #582793
triadic
#272C93 #93272C #2C9327
tetradic
#272C93 #932762 #938E27 #279358
square
#272C93 #932762 #938E27 #279358
split-complementary
#272C93 #935827 #629327
monochromatic
#0D0F32 #1A1E63 #272C93 #343AC3 #6065D5

Accessibility & contrast

On white

11.24
#272C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272C93
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C93#FFFFFF#000000##FFFFFF
##272C931.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004096
Deuteranopia (green-blind)
#003691
Tritanopia (blue-blind)
#00485C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #272c93;
/* rgb */ color: rgb(39, 44, 147);
/* oklch */ color: oklch(36.5% 0.165 272.7);
Tailwind
colors: {
  custom: {
    50: '#7266b4',
    500: '#272c93',
    950: '#000000',
  },
}
SCSS
$custom: #272c93;
$custom-light: #7266b4;
$custom-dark: #000000;
JSON
{
  "hex": "#272c93",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 237.222,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36539,
    "c": 0.16502,
    "h": 272.7
  },
  "luminance": 0.04339
}

Semantic roles & 50–950 ramp

primary
#272C93
secondary
#BAB65C
accent
#DA47E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272C93

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

Preview Lab → · Contrast checker → · Palette generator →

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