#272C85#272C85

#272C85 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.146 H 273.6°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#272C85
RGBrgb(39, 44, 133)
HSLhsl(237, 55%, 34%)
HSVhsv(237, 71%, 52%)
CMYKcmyk(70.7%, 66.9%, 0%, 47.8%)
CIE-LABlab(23.42, 28.82, -50.49)
CIE-LCHlch(23.42, 58.14, 299.71°)
OKLaboklab(35.16% 0.0092 -0.1458)
OKLCHoklch(35.16% 0.146 273.6)
XYZxyz(5.9696, 3.9256, 22.6289)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C85 #858027
analogous
#275B85 #272C85 #512785
triadic
#272C85 #85272C #2C8527
tetradic
#272C85 #85275B #858027 #278551
square
#272C85 #85275B #858027 #278551
split-complementary
#272C85 #855127 #5B8527
monochromatic
#0B0D26 #191C56 #272C85 #353CB4 #585FCE

Accessibility & contrast

On white

11.76
#272C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#272C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C85
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C85#FFFFFF#000000##FFFFFF
##272C851.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #272c85;
/* rgb */ color: rgb(39, 44, 133);
/* oklch */ color: oklch(35.2% 0.146 273.6);
Tailwind
colors: {
  custom: {
    50: '#6f65a9',
    500: '#272c85',
    950: '#000000',
  },
}
SCSS
$custom: #272c85;
$custom-light: #6f65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#272c85",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 236.809,
    "s": 54.651,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3516,
    "c": 0.14608,
    "h": 273.6
  },
  "luminance": 0.03926
}

Semantic roles & 50–950 ramp

primary
#272C85
secondary
#B3AE55
accent
#D64ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #272C85

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

Preview Lab → · Contrast checker → · Palette generator →

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