#272C92#272C92

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

Color values

HEX#272C92
RGBrgb(39, 44, 146)
HSLhsl(237, 58%, 36%)
HSVhsv(237, 73%, 57%)
CMYKcmyk(73.3%, 69.9%, 0%, 42.7%)
CIE-LABlab(24.66, 33.55, -56.55)
CIE-LCHlch(24.66, 65.76, 300.68°)
OKLaboklab(36.44% 0.0078 -0.1635)
OKLCHoklch(36.44% 0.164 272.7)
XYZxyz(6.9239, 4.3073, 27.6551)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C92 #928D27
analogous
#276292 #272C92 #582792
triadic
#272C92 #92272C #2C9227
tetradic
#272C92 #922762 #928D27 #279258
square
#272C92 #922762 #928D27 #279258
split-complementary
#272C92 #925827 #629227
monochromatic
#0D0F31 #1A1D62 #272C92 #343BC2 #5F65D4

Accessibility & contrast

On white

11.28
#272C92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#272C92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C92
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C92#FFFFFF#000000##FFFFFF
##272C921.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004095
Deuteranopia (green-blind)
#003690
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #272c92;
/* rgb */ color: rgb(39, 44, 146);
/* oklch */ color: oklch(36.4% 0.164 272.7);
Tailwind
colors: {
  custom: {
    50: '#7265b3',
    500: '#272c92',
    950: '#000000',
  },
}
SCSS
$custom: #272c92;
$custom-light: #7265b3;
$custom-dark: #000000;
JSON
{
  "hex": "#272c92",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 146
  },
  "hsl": {
    "h": 237.196,
    "s": 57.838,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36439,
    "c": 0.1637,
    "h": 272.7
  },
  "luminance": 0.04308
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272C92

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

Preview Lab → · Contrast checker → · Palette generator →

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