#272C7A#272C7A

#272C7A is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.1% C 0.131 H 274.3°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#272C7A
RGBrgb(39, 44, 122)
HSLhsl(236, 52%, 32%)
HSVhsv(236, 68%, 48%)
CMYKcmyk(68%, 63.9%, 0%, 52.2%)
CIE-LABlab(22.43, 24.74, -45.17)
CIE-LCHlch(22.43, 51.50, 298.71°)
OKLaboklab(34.13% 0.0099 -0.1302)
OKLCHoklch(34.13% 0.131 274.3)
XYZxyz(5.2491, 3.6374, 18.8340)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C7A #7A7527
analogous
#27567A #272C7A #4C277A
triadic
#272C7A #7A272C #2C7A27
tetradic
#272C7A #7A2756 #7A7527 #277A4C
square
#272C7A #7A2756 #7A7527 #277A4C
split-complementary
#272C7A #7A4C27 #567A27
monochromatic
#090B1D #181B4C #272C7A #363DA8 #535AC8

Accessibility & contrast

On white

12.16
#272C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#272C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C7A
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C7A#FFFFFF#000000##FFFFFF
##272C7A1.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#00404E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272c7a;
/* rgb */ color: rgb(39, 44, 122);
/* oklch */ color: oklch(34.1% 0.131 274.3);
Tailwind
colors: {
  custom: {
    50: '#6c65a1',
    500: '#272c7a',
    950: '#000000',
  },
}
SCSS
$custom: #272c7a;
$custom-light: #6c65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#272c7a",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 236.386,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34128,
    "c": 0.13054,
    "h": 274.3
  },
  "luminance": 0.03638
}

Semantic roles & 50–950 ramp

primary
#272C7A
secondary
#ACA751
accent
#D24DDB
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #272C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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