#27287A#27287A

#27287A is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.136 H 275.6°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#27287A
RGBrgb(39, 40, 122)
HSLhsl(239, 52%, 32%)
HSVhsv(239, 68%, 48%)
CMYKcmyk(68%, 67.2%, 0%, 52.2%)
CIE-LABlab(21.41, 27.44, -46.85)
CIE-LCHlch(21.41, 54.29, 300.36°)
OKLaboklab(33.38% 0.0133 -0.1351)
OKLCHoklch(33.38% 0.136 275.6)
XYZxyz(5.1072, 3.3536, 18.7868)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27287A #7A7927
analogous
#27527A #27287A #50277A
triadic
#27287A #7A2728 #287A27
tetradic
#27287A #7A2752 #7A7927 #277A50
square
#27287A #7A2752 #7A7927 #277A50
split-complementary
#27287A #7A5027 #527A27
monochromatic
#090A1D #18194C #27287A #3637A8 #5355C8

Accessibility & contrast

On white

12.57
#27287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#27287A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27287A
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27287A#FFFFFF#000000##FFFFFF
##27287A1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #27287a;
/* rgb */ color: rgb(39, 40, 122);
/* oklch */ color: oklch(33.4% 0.136 275.6);
Tailwind
colors: {
  custom: {
    50: '#6d62a1',
    500: '#27287a',
    950: '#000000',
  },
}
SCSS
$custom: #27287a;
$custom-light: #6d62a1;
$custom-dark: #000000;
JSON
{
  "hex": "#27287a",
  "rgb": {
    "r": 39,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 239.277,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33376,
    "c": 0.13577,
    "h": 275.6
  },
  "luminance": 0.03354
}

Semantic roles & 50–950 ramp

primary
#27287A
secondary
#ACAB51
accent
#D94DDB
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#08050F
muted
#7A797F

Preview Lab

Preview with #27287A

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

Preview Lab → · Contrast checker → · Palette generator →

#27287A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva