#27276F#27276F

#27276F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.121 H 277.1°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#27276F
RGBrgb(39, 39, 111)
HSLhsl(240, 48%, 29%)
HSVhsv(240, 65%, 44%)
CMYKcmyk(64.9%, 64.9%, 0%, 56.5%)
CIE-LABlab(20.16, 24.07, -41.83)
CIE-LCHlch(20.16, 48.26, 299.92°)
OKLaboklab(32.16% 0.0151 -0.1204)
OKLCHoklch(32.16% 0.121 277.1)
XYZxyz(4.4305, 3.0297, 15.3872)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27276F #6F6F27
analogous
#274B6F #27276F #4B276F
triadic
#27276F #6F2727 #276F27
tetradic
#27276F #6F274B #6F6F27 #276F4B
square
#27276F #6F274B #6F6F27 #276F4B
split-complementary
#27276F #6F4B27 #4B6F27
monochromatic
#080817 #171742 #27276F #37379C #4F4FC1

Accessibility & contrast

On white

13.08
#27276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#27276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27276F
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27276F#FFFFFF#000000##FFFFFF
##27276F1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #27276f;
/* rgb */ color: rgb(39, 39, 111);
/* oklch */ color: oklch(32.2% 0.121 277.1);
Tailwind
colors: {
  custom: {
    50: '#6a6199',
    500: '#27276f',
    950: '#000000',
  },
}
SCSS
$custom: #27276f;
$custom-light: #6a6199;
$custom-dark: #000000;
JSON
{
  "hex": "#27276f",
  "rgb": {
    "r": 39,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 240,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32157,
    "c": 0.12133,
    "h": 277.1
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#27276F
secondary
#A2A250
accent
#D850D8
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #27276F

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

Preview Lab → · Contrast checker → · Palette generator →

#27276F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva