#27207B#27207B

#27207B is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.147 H 277.6°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#27207B
RGBrgb(39, 32, 123)
HSLhsl(245, 59%, 30%)
HSVhsv(245, 74%, 48%)
CMYKcmyk(68.3%, 74%, 0%, 51.8%)
CIE-LABlab(19.61, 32.92, -50.42)
CIE-LCHlch(19.61, 60.22, 303.14°)
OKLaboklab(32.11% 0.0194 -0.1456)
OKLCHoklch(32.11% 0.147 277.6)
XYZxyz(4.9272, 2.8940, 19.0340)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27207B #747B20
analogous
#20477B #27207B #54207B
triadic
#27207B #7B2720 #207B27
tetradic
#27207B #7B2047 #747B20 #207B54
square
#27207B #7B2047 #747B20 #207B54
split-complementary
#27207B #7B5420 #477B20
monochromatic
#08071A #18134A #27207B #362DAC #5146CF

Accessibility & contrast

On white

13.30
#27207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#27207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27207B
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27207B#FFFFFF#000000##FFFFFF
##27207B1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337E
Deuteranopia (green-blind)
#002C79
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #27207b;
/* rgb */ color: rgb(39, 32, 123);
/* oklch */ color: oklch(32.1% 0.147 277.6);
Tailwind
colors: {
  custom: {
    50: '#6e5da2',
    500: '#27207b',
    950: '#000000',
  },
}
SCSS
$custom: #27207b;
$custom-light: #6e5da2;
$custom-dark: #000000;
JSON
{
  "hex": "#27207b",
  "rgb": {
    "r": 39,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 244.615,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32111,
    "c": 0.14689,
    "h": 277.6
  },
  "luminance": 0.02894
}

Semantic roles & 50–950 ramp

primary
#27207B
secondary
#A6AE49
accent
#E246D6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #27207B

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

Preview Lab → · Contrast checker → · Palette generator →

#27207B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva