#272C7E#272C7E

#272C7E is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.136 H 274.1°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#272C7E
RGBrgb(39, 44, 126)
HSLhsl(237, 53%, 32%)
HSVhsv(237, 69%, 49%)
CMYKcmyk(69%, 65.1%, 0%, 50.6%)
CIE-LABlab(22.79, 26.23, -47.13)
CIE-LCHlch(22.79, 53.94, 299.10°)
OKLaboklab(34.5% 0.0097 -0.1359)
OKLCHoklch(34.5% 0.136 274.1)
XYZxyz(5.5020, 3.7386, 20.1663)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C7E #7E7927
analogous
#27577E #272C7E #4E277E
triadic
#272C7E #7E272C #2C7E27
tetradic
#272C7E #7E2757 #7E7927 #277E4E
square
#272C7E #7E2757 #7E7927 #277E4E
split-complementary
#272C7E #7E4E27 #577E27
monochromatic
#0A0B21 #191C4F #272C7E #353CAD #555CCA

Accessibility & contrast

On white

12.02
#272C7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#272C7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C7E
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C7E#FFFFFF#000000##FFFFFF
##272C7E1.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00337C
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #272c7e;
/* rgb */ color: rgb(39, 44, 126);
/* oklch */ color: oklch(34.5% 0.136 274.1);
Tailwind
colors: {
  custom: {
    50: '#6d65a4',
    500: '#272c7e',
    950: '#000000',
  },
}
SCSS
$custom: #272c7e;
$custom-light: #6d65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#272c7e",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 236.552,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.34498,
    "c": 0.13626,
    "h": 274.1
  },
  "luminance": 0.03739
}

Semantic roles & 50–950 ramp

primary
#272C7E
secondary
#AFAA52
accent
#D44CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #272C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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