#272F8A#272F8A

#272F8A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.149 H 272.5°. Best body text is #FFFFFF at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#272F8A
RGBrgb(39, 47, 138)
HSLhsl(235, 56%, 35%)
HSVhsv(235, 72%, 54%)
CMYKcmyk(71.7%, 65.9%, 0%, 45.9%)
CIE-LABlab(24.64, 28.68, -51.64)
CIE-LCHlch(24.64, 59.06, 299.05°)
OKLaboklab(36.19% 0.0065 -0.1491)
OKLCHoklch(36.19% 0.149 272.5)
XYZxyz(6.4391, 4.2987, 24.5302)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F8A #8A8227
analogous
#27608A #272F8A #51278A
triadic
#272F8A #8A272F #2F8A27
tetradic
#272F8A #8A2760 #8A8227 #278A51
square
#272F8A #8A2760 #8A8227 #278A51
split-complementary
#272F8A #8A5127 #608A27
monochromatic
#0C0E2B #1A1F5A #272F8A #343FBA #5B64D1

Accessibility & contrast

On white

11.29
#272F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#272F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F8A
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F8A#FFFFFF#000000##FFFFFF
##272F8A1.0011.291.8611.29
#FFFFFF11.291.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272f8a;
/* rgb */ color: rgb(39, 47, 138);
/* oklch */ color: oklch(36.2% 0.149 272.5);
Tailwind
colors: {
  custom: {
    50: '#7067ad',
    500: '#272f8a',
    950: '#000000',
  },
}
SCSS
$custom: #272f8a;
$custom-light: #7067ad;
$custom-dark: #000000;
JSON
{
  "hex": "#272f8a",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 235.152,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36187,
    "c": 0.14925,
    "h": 272.5
  },
  "luminance": 0.04299
}

Semantic roles & 50–950 ramp

primary
#272F8A
secondary
#B6AE57
accent
#D349DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #272F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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