#272C8D#272C8D

#272C8D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.157 H 273.1°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#272C8D
RGBrgb(39, 44, 141)
HSLhsl(237, 57%, 35%)
HSVhsv(237, 72%, 55%)
CMYKcmyk(72.3%, 68.8%, 0%, 44.7%)
CIE-LABlab(24.18, 31.74, -54.25)
CIE-LCHlch(24.18, 62.86, 300.33°)
OKLaboklab(35.94% 0.0084 -0.1568)
OKLCHoklch(35.94% 0.157 273.1)
XYZxyz(6.5435, 4.1551, 25.6513)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C8D #8D8827
analogous
#275F8D #272C8D #55278D
triadic
#272C8D #8D272C #2C8D27
tetradic
#272C8D #8D275F #8D8827 #278D55
square
#272C8D #8D275F #8D8827 #278D55
split-complementary
#272C8D #8D5527 #5F8D27
monochromatic
#0C0E2D #1A1D5D #272C8D #343BBD #5C62D2

Accessibility & contrast

On white

11.47
#272C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272C8D
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C8D#FFFFFF#000000##FFFFFF
##272C8D1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272c8d;
/* rgb */ color: rgb(39, 44, 141);
/* oklch */ color: oklch(35.9% 0.157 273.1);
Tailwind
colors: {
  custom: {
    50: '#7165af',
    500: '#272c8d',
    950: '#000000',
  },
}
SCSS
$custom: #272c8d;
$custom-light: #7165af;
$custom-dark: #000000;
JSON
{
  "hex": "#272c8d",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 237.059,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.3594,
    "c": 0.15701,
    "h": 273.1
  },
  "luminance": 0.04156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #272C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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