#272C8F#272C8F

#272C8F is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.1% C 0.160 H 272.9°. Best body text is #FFFFFF at 11.39:1 contrast (WCAG AA passes).

Color values

HEX#272C8F
RGBrgb(39, 44, 143)
HSLhsl(237, 57%, 36%)
HSVhsv(237, 73%, 56%)
CMYKcmyk(72.7%, 69.2%, 0%, 43.9%)
CIE-LABlab(24.37, 32.47, -55.17)
CIE-LCHlch(24.37, 64.02, 300.48°)
OKLaboklab(36.14% 0.0082 -0.1595)
OKLCHoklch(36.14% 0.16 272.9)
XYZxyz(6.6936, 4.2152, 26.4421)
Luminance0.0422 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C8F #8F8A27
analogous
#27608F #272C8F #56278F
triadic
#272C8F #8F272C #2C8F27
tetradic
#272C8F #8F2760 #8F8A27 #278F56
square
#272C8F #8F2760 #8F8A27 #278F56
split-complementary
#272C8F #8F5627 #608F27
monochromatic
#0D0E2F #1A1D5F #272C8F #343BBF #5D63D3

Accessibility & contrast

On white

11.39
#272C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#272C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C8F
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C8F#FFFFFF#000000##FFFFFF
##272C8F1.0011.391.8411.39
#FFFFFF11.391.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #272c8f;
/* rgb */ color: rgb(39, 44, 143);
/* oklch */ color: oklch(36.1% 0.160 272.9);
Tailwind
colors: {
  custom: {
    50: '#7165b1',
    500: '#272c8f',
    950: '#000000',
  },
}
SCSS
$custom: #272c8f;
$custom-light: #7165b1;
$custom-dark: #000000;
JSON
{
  "hex": "#272c8f",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 237.115,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36138,
    "c": 0.1597,
    "h": 272.9
  },
  "luminance": 0.04216
}

Semantic roles & 50–950 ramp

primary
#272C8F
secondary
#B8B45A
accent
#D947E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #272C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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