#272A6C#272A6C

#272A6C is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.113 H 276.2°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#272A6C
RGBrgb(39, 42, 108)
HSLhsl(237, 47%, 29%)
HSVhsv(237, 64%, 42%)
CMYKcmyk(63.9%, 61.1%, 0%, 57.6%)
CIE-LABlab(20.71, 20.90, -38.99)
CIE-LCHlch(20.71, 44.24, 298.19°)
OKLaboklab(32.48% 0.0121 -0.112)
OKLCHoklch(32.48% 0.113 276.2)
XYZxyz(4.3706, 3.1696, 14.5659)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272A6C #6C6927
analogous
#274D6C #272A6C #47276C
triadic
#272A6C #6C272A #2A6C27
tetradic
#272A6C #6C274D #6C6927 #276C47
square
#272A6C #6C274D #6C6927 #276C47
split-complementary
#272A6C #6C4727 #4D6C27
monochromatic
#080916 #17193F #272A6C #373B99 #4E53BF

Accessibility & contrast

On white

12.85
#272A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#272A6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272A6C
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272A6C#FFFFFF#000000##FFFFFF
##272A6C1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356E
Deuteranopia (green-blind)
#002F6B
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #272a6c;
/* rgb */ color: rgb(39, 42, 108);
/* oklch */ color: oklch(32.5% 0.113 276.2);
Tailwind
colors: {
  custom: {
    50: '#696397',
    500: '#272a6c',
    950: '#000000',
  },
}
SCSS
$custom: #272a6c;
$custom-light: #696397;
$custom-dark: #000000;
JSON
{
  "hex": "#272a6c",
  "rgb": {
    "r": 39,
    "g": 42,
    "b": 108
  },
  "hsl": {
    "h": 237.391,
    "s": 46.939,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32482,
    "c": 0.11269,
    "h": 276.2
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

primary
#272A6C
secondary
#9F9B50
accent
#D151D7
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #272A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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