#272C9A#272C9A

#272C9A is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.3% C 0.174 H 272.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#272C9A
RGBrgb(39, 44, 154)
HSLhsl(237, 60%, 38%)
HSVhsv(237, 75%, 60%)
CMYKcmyk(74.7%, 71.4%, 0%, 39.6%)
CIE-LABlab(25.46, 36.41, -60.16)
CIE-LCHlch(25.46, 70.32, 301.18°)
OKLaboklab(37.25% 0.0068 -0.174)
OKLCHoklch(37.25% 0.174 272.2)
XYZxyz(7.5682, 4.5650, 31.0479)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C9A #9A9527
analogous
#27669A #272C9A #5B279A
triadic
#272C9A #9A272C #2C9A27
tetradic
#272C9A #9A2766 #9A9527 #279A5B
square
#272C9A #9A2766 #9A9527 #279A5B
split-complementary
#272C9A #9A5B27 #669A27
monochromatic
#0E1038 #1B1E69 #272C9A #333ACB #6469D8

Accessibility & contrast

On white

10.98
#272C9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#272C9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C9A
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C9A#FFFFFF#000000##FFFFFF
##272C9A1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003798
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #272c9a;
/* rgb */ color: rgb(39, 44, 154);
/* oklch */ color: oklch(37.3% 0.174 272.2);
Tailwind
colors: {
  custom: {
    50: '#7466b9',
    500: '#272c9a',
    950: '#000000',
  },
}
SCSS
$custom: #272c9a;
$custom-light: #7466b9;
$custom-dark: #000000;
JSON
{
  "hex": "#272c9a",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 154
  },
  "hsl": {
    "h": 237.391,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37253,
    "c": 0.17418,
    "h": 272.2
  },
  "luminance": 0.04566
}

Semantic roles & 50–950 ramp

primary
#272C9A
secondary
#BDB95F
accent
#DC45E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #272C9A

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

Preview Lab → · Contrast checker → · Palette generator →

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