#272C67#272C67

#272C67 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.102 H 275.5°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#272C67
RGBrgb(39, 44, 103)
HSLhsl(235, 45%, 28%)
HSVhsv(235, 62%, 40%)
CMYKcmyk(62.1%, 57.3%, 0%, 59.6%)
CIE-LABlab(20.87, 17.62, -35.48)
CIE-LCHlch(20.87, 39.62, 296.41°)
OKLaboklab(32.48% 0.0098 -0.1017)
OKLCHoklch(32.48% 0.102 275.5)
XYZxyz(4.1848, 3.2117, 13.2287)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#272C67 #676227
analogous
#274C67 #272C67 #422767
triadic
#272C67 #67272C #2C6727
tetradic
#272C67 #67274C #676227 #276742
square
#272C67 #67274C #676227 #276742
split-complementary
#272C67 #674227 #4C6727
monochromatic
#080916 #16193B #272C67 #383F93 #4D56BC

Accessibility & contrast

On white

12.79
#272C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#272C67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #272C67
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##272C67#FFFFFF#000000##FFFFFF
##272C671.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063569
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #272c67;
/* rgb */ color: rgb(39, 44, 103);
/* oklch */ color: oklch(32.5% 0.102 275.5);
Tailwind
colors: {
  custom: {
    50: '#686593',
    500: '#272c67',
    950: '#000000',
  },
}
SCSS
$custom: #272c67;
$custom-light: #686593;
$custom-dark: #000000;
JSON
{
  "hex": "#272c67",
  "rgb": {
    "r": 39,
    "g": 44,
    "b": 103
  },
  "hsl": {
    "h": 235.313,
    "s": 45.07,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32476,
    "c": 0.10216,
    "h": 275.5
  },
  "luminance": 0.03212
}

Semantic roles & 50–950 ramp

primary
#272C67
secondary
#9A9450
accent
#CB53D5
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07050D
muted
#7A7A7E

Preview Lab

Preview with #272C67

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

Preview Lab → · Contrast checker → · Palette generator →

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