#272C7B#272C7B

#272C7B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.132 H 274.3°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).

Color values

HEX#272C7B
RGBrgb(39, 44, 123)
HSLhsl(236, 52%, 32%)
HSVhsv(236, 68%, 48%)
CMYKcmyk(68.3%, 64.2%, 0%, 51.8%)
CIE-LABlab(22.52, 25.11, -45.66)
CIE-LCHlch(22.52, 52.11, 298.81°)
OKLaboklab(34.22% 0.0098 -0.1316)
OKLCHoklch(34.22% 0.132 274.3)
XYZxyz(5.3113, 3.6623, 19.1620)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C7B #7B7627
analogous
#27567B #272C7B #4C277B
triadic
#272C7B #7B272C #2C7B27
tetradic
#272C7B #7B2756 #7B7627 #277B4C
square
#272C7B #7B2756 #7B7627 #277B4C
split-complementary
#272C7B #7B4C27 #567B27
monochromatic
#0A0B1E #181B4D #272C7B #363DA9 #545BC9

Accessibility & contrast

On white

12.12
#272C7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#272C7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C7B
12.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C7B#FFFFFF#000000##FFFFFF
##272C7B1.0012.121.7312.12
#FFFFFF12.121.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7E
Deuteranopia (green-blind)
#003279
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272c7b;
/* rgb */ color: rgb(39, 44, 123);
/* oklch */ color: oklch(34.2% 0.132 274.3);
Tailwind
colors: {
  custom: {
    50: '#6c65a2',
    500: '#272c7b',
    950: '#000000',
  },
}
SCSS
$custom: #272c7b;
$custom-light: #6c65a2;
$custom-dark: #000000;
JSON
{
  "hex": "#272c7b",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 236.429,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3422,
    "c": 0.13198,
    "h": 274.3
  },
  "luminance": 0.03663
}

Semantic roles & 50–950 ramp

primary
#272C7B
secondary
#ADA751
accent
#D34CDB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #272C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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