#272F9A#272F9A

#272F9A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.171 H 271.7°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#272F9A
RGBrgb(39, 47, 154)
HSLhsl(236, 60%, 38%)
HSVhsv(236, 75%, 60%)
CMYKcmyk(74.7%, 69.5%, 0%, 39.6%)
CIE-LABlab(26.15, 34.53, -59.03)
CIE-LCHlch(26.15, 68.38, 300.33°)
OKLaboklab(37.75% 0.0051 -0.1707)
OKLCHoklch(37.75% 0.171 271.7)
XYZxyz(7.6840, 4.7967, 31.0865)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272F9A #9A9227
analogous
#27689A #272F9A #58279A
triadic
#272F9A #9A272F #2F9A27
tetradic
#272F9A #9A2768 #9A9227 #279A58
square
#272F9A #9A2768 #9A9227 #279A58
split-complementary
#272F9A #9A5827 #689A27
monochromatic
#0E1138 #1B2069 #272F9A #333ECB #646CD8

Accessibility & contrast

On white

10.72
#272F9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#272F9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272F9A
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272F9A#FFFFFF#000000##FFFFFF
##272F9A1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #272f9a;
/* rgb */ color: rgb(39, 47, 154);
/* oklch */ color: oklch(37.8% 0.171 271.7);
Tailwind
colors: {
  custom: {
    50: '#7468b9',
    500: '#272f9a',
    950: '#000000',
  },
}
SCSS
$custom: #272f9a;
$custom-light: #7468b9;
$custom-dark: #000000;
JSON
{
  "hex": "#272f9a",
  "rgb": {
    "r": 39,
    "g": 47,
    "b": 154
  },
  "hsl": {
    "h": 235.826,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3775,
    "c": 0.17081,
    "h": 271.7
  },
  "luminance": 0.04797
}

Semantic roles & 50–950 ramp

primary
#272F9A
secondary
#BDB75F
accent
#D845E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #272F9A

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

Preview Lab → · Contrast checker → · Palette generator →

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