#272C99#272C99

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

Color values

HEX#272C99
RGBrgb(39, 44, 153)
HSLhsl(237, 59%, 38%)
HSVhsv(237, 75%, 60%)
CMYKcmyk(74.5%, 71.2%, 0%, 40%)
CIE-LABlab(25.36, 36.06, -59.71)
CIE-LCHlch(25.36, 69.76, 301.12°)
OKLaboklab(37.15% 0.0069 -0.1727)
OKLCHoklch(37.15% 0.173 272.3)
XYZxyz(7.4852, 4.5318, 30.6111)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C99 #999427
analogous
#276599 #272C99 #5B2799
triadic
#272C99 #99272C #2C9927
tetradic
#272C99 #992765 #999427 #27995B
square
#272C99 #992765 #999427 #27995B
split-complementary
#272C99 #995B27 #659927
monochromatic
#0E1037 #1B1E68 #272C99 #333ACA #6368D7

Accessibility & contrast

On white

11.01
#272C99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#272C99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C99
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C99#FFFFFF#000000##FFFFFF
##272C991.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429C
Deuteranopia (green-blind)
#003797
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #272c99;
/* rgb */ color: rgb(39, 44, 153);
/* oklch */ color: oklch(37.1% 0.173 272.3);
Tailwind
colors: {
  custom: {
    50: '#7466b8',
    500: '#272c99',
    950: '#000000',
  },
}
SCSS
$custom: #272c99;
$custom-light: #7466b8;
$custom-dark: #000000;
JSON
{
  "hex": "#272c99",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 153
  },
  "hsl": {
    "h": 237.368,
    "s": 59.375,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3715,
    "c": 0.17289,
    "h": 272.3
  },
  "luminance": 0.04533
}

Semantic roles & 50–950 ramp

primary
#272C99
secondary
#BDB95F
accent
#DC45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272C99

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

Preview Lab → · Contrast checker → · Palette generator →

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