#272C8A#272C8A

#272C8A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.153 H 273.3°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#272C8A
RGBrgb(39, 44, 138)
HSLhsl(237, 56%, 35%)
HSVhsv(237, 72%, 54%)
CMYKcmyk(71.7%, 68.1%, 0%, 45.9%)
CIE-LABlab(23.89, 30.65, -52.85)
CIE-LCHlch(23.89, 61.10, 300.11°)
OKLaboklab(35.64% 0.0087 -0.1527)
OKLCHoklch(35.64% 0.153 273.3)
XYZxyz(6.3233, 4.0671, 24.4916)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C8A #8A8527
analogous
#275D8A #272C8A #54278A
triadic
#272C8A #8A272C #2C8A27
tetradic
#272C8A #8A275D #8A8527 #278A54
square
#272C8A #8A275D #8A8527 #278A54
split-complementary
#272C8A #8A5427 #5D8A27
monochromatic
#0C0E2B #1A1D5A #272C8A #343BBA #5B61D1

Accessibility & contrast

On white

11.58
#272C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#272C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C8A
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C8A#FFFFFF#000000##FFFFFF
##272C8A1.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #272c8a;
/* rgb */ color: rgb(39, 44, 138);
/* oklch */ color: oklch(35.6% 0.153 273.3);
Tailwind
colors: {
  custom: {
    50: '#7065ad',
    500: '#272c8a',
    950: '#000000',
  },
}
SCSS
$custom: #272c8a;
$custom-light: #7065ad;
$custom-dark: #000000;
JSON
{
  "hex": "#272c8a",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 138
  },
  "hsl": {
    "h": 236.97,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35645,
    "c": 0.15295,
    "h": 273.3
  },
  "luminance": 0.04068
}

Semantic roles & 50–950 ramp

primary
#272C8A
secondary
#B6B157
accent
#D849DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #272C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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