#272C9D#272C9D

#272C9D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.178 H 272.1°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#272C9D
RGBrgb(39, 44, 157)
HSLhsl(237, 60%, 38%)
HSVhsv(237, 75%, 62%)
CMYKcmyk(75.2%, 72%, 0%, 38.4%)
CIE-LABlab(25.76, 37.47, -61.49)
CIE-LCHlch(25.76, 72.01, 301.35°)
OKLaboklab(37.56% 0.0064 -0.1779)
OKLCHoklch(37.56% 0.178 272.1)
XYZxyz(7.8211, 4.6662, 32.3802)
Luminance0.0467 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C9D #9D9827
analogous
#27679D #272C9D #5D279D
triadic
#272C9D #9D272C #2C9D27
tetradic
#272C9D #9D2767 #9D9827 #279D5D
square
#272C9D #9D2767 #9D9827 #279D5D
split-complementary
#272C9D #9D5D27 #679D27
monochromatic
#0F113B #1B1E6C #272C9D #353BCD #666AD9

Accessibility & contrast

On white

10.86
#272C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#272C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C9D
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C9D#FFFFFF#000000##FFFFFF
##272C9D1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #272c9d;
/* rgb */ color: rgb(39, 44, 157);
/* oklch */ color: oklch(37.6% 0.178 272.1);
Tailwind
colors: {
  custom: {
    50: '#7566bb',
    500: '#272c9d',
    950: '#000000',
  },
}
SCSS
$custom: #272c9d;
$custom-light: #7566bb;
$custom-dark: #000000;
JSON
{
  "hex": "#272c9d",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 237.458,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37563,
    "c": 0.17805,
    "h": 272.1
  },
  "luminance": 0.04667
}

Semantic roles & 50–950 ramp

primary
#272C9D
secondary
#BFBB61
accent
#DD44E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #272C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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