#272C80#272C80

#272C80 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.139 H 273.9°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#272C80
RGBrgb(39, 44, 128)
HSLhsl(237, 53%, 33%)
HSVhsv(237, 70%, 50%)
CMYKcmyk(69.5%, 65.6%, 0%, 49.8%)
CIE-LABlab(22.97, 26.97, -48.10)
CIE-LCHlch(22.97, 55.14, 299.28°)
OKLaboklab(34.69% 0.0095 -0.1388)
OKLCHoklch(34.69% 0.139 273.9)
XYZxyz(5.6324, 3.7907, 20.8527)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C80 #807B27
analogous
#275980 #272C80 #4E2780
triadic
#272C80 #80272C #2C8027
tetradic
#272C80 #802759 #807B27 #27804E
square
#272C80 #802759 #807B27 #27804E
split-complementary
#272C80 #804E27 #598027
monochromatic
#0A0C22 #191C51 #272C80 #353CAF #565DCB

Accessibility & contrast

On white

11.94
#272C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#272C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C80
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C80#FFFFFF#000000##FFFFFF
##272C801.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B83
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #272c80;
/* rgb */ color: rgb(39, 44, 128);
/* oklch */ color: oklch(34.7% 0.139 273.9);
Tailwind
colors: {
  custom: {
    50: '#6e65a6',
    500: '#272c80',
    950: '#000000',
  },
}
SCSS
$custom: #272c80;
$custom-light: #6e65a6;
$custom-dark: #000000;
JSON
{
  "hex": "#272c80",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 128
  },
  "hsl": {
    "h": 236.629,
    "s": 53.293,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34685,
    "c": 0.13909,
    "h": 273.9
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#272C80
secondary
#B0AB53
accent
#D54BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #272C80

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

Preview Lab → · Contrast checker → · Palette generator →

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