#272C8C#272C8C

#272C8C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.8% C 0.156 H 273.1°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#272C8C
RGBrgb(39, 44, 140)
HSLhsl(237, 56%, 35%)
HSVhsv(237, 72%, 55%)
CMYKcmyk(72.1%, 68.6%, 0%, 45.1%)
CIE-LABlab(24.08, 31.38, -53.79)
CIE-LCHlch(24.08, 62.27, 300.26°)
OKLaboklab(35.84% 0.0085 -0.1554)
OKLCHoklch(35.84% 0.156 273.1)
XYZxyz(6.4694, 4.1255, 25.2612)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C8C #8C8727
analogous
#275E8C #272C8C #55278C
triadic
#272C8C #8C272C #2C8C27
tetradic
#272C8C #8C275E #8C8727 #278C55
square
#272C8C #8C275E #8C8727 #278C55
split-complementary
#272C8C #8C5527 #5E8C27
monochromatic
#0C0E2C #1A1D5C #272C8C #343BBC #5C62D2

Accessibility & contrast

On white

11.51
#272C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#272C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C8C
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C8C#FFFFFF#000000##FFFFFF
##272C8C1.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#00358A
Tritanopia (blue-blind)
#004658
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272c8c;
/* rgb */ color: rgb(39, 44, 140);
/* oklch */ color: oklch(35.8% 0.156 273.1);
Tailwind
colors: {
  custom: {
    50: '#7065af',
    500: '#272c8c',
    950: '#000000',
  },
}
SCSS
$custom: #272c8c;
$custom-light: #7065af;
$custom-dark: #000000;
JSON
{
  "hex": "#272c8c",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 237.03,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35841,
    "c": 0.15566,
    "h": 273.1
  },
  "luminance": 0.04126
}

Semantic roles & 50–950 ramp

primary
#272C8C
secondary
#B7B258
accent
#D848E0
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #272C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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