#272D8A#272D8A

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

Color values

HEX#272D8A
RGBrgb(39, 45, 138)
HSLhsl(236, 56%, 35%)
HSVhsv(236, 72%, 54%)
CMYKcmyk(71.7%, 67.4%, 0%, 45.9%)
CIE-LABlab(24.14, 30.00, -52.45)
CIE-LCHlch(24.14, 60.42, 299.77°)
OKLaboklab(35.82% 0.008 -0.1515)
OKLCHoklch(35.82% 0.152 273)
XYZxyz(6.3610, 4.1425, 24.5042)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272D8A #8A8427
analogous
#275E8A #272D8A #53278A
triadic
#272D8A #8A272D #2D8A27
tetradic
#272D8A #8A275E #8A8427 #278A53
square
#272D8A #8A275E #8A8427 #278A53
split-complementary
#272D8A #8A5327 #5E8A27
monochromatic
#0C0E2B #1A1D5A #272D8A #343DBA #5B62D1

Accessibility & contrast

On white

11.48
#272D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #272D8A
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272D8A#FFFFFF#000000##FFFFFF
##272D8A1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #272d8a;
/* rgb */ color: rgb(39, 45, 138);
/* oklch */ color: oklch(35.8% 0.152 273.0);
Tailwind
colors: {
  custom: {
    50: '#7066ad',
    500: '#272d8a',
    950: '#000000',
  },
}
SCSS
$custom: #272d8a;
$custom-light: #7066ad;
$custom-dark: #000000;
JSON
{
  "hex": "#272d8a",
  "rgb": {
    "r": 39,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 236.364,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35823,
    "c": 0.15173,
    "h": 273
  },
  "luminance": 0.04143
}

Semantic roles & 50–950 ramp

primary
#272D8A
secondary
#B6B057
accent
#D649DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #272D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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