#27299C#27299C

#27299C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.180 H 272.6°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#27299C
RGBrgb(39, 41, 156)
HSLhsl(239, 60%, 38%)
HSVhsv(239, 75%, 61%)
CMYKcmyk(75%, 73.7%, 0%, 38.8%)
CIE-LABlab(25.00, 38.94, -62.13)
CIE-LCHlch(25.00, 73.32, 302.07°)
OKLaboklab(36.99% 0.0081 -0.1798)
OKLCHoklch(36.99% 0.18 272.6)
XYZxyz(7.6284, 4.4167, 31.8965)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27299C #9C9A27
analogous
#27639C #27299C #5F279C
triadic
#27299C #9C2729 #299C27
tetradic
#27299C #9C2763 #9C9A27 #279C5F
square
#27299C #9C2763 #9C9A27 #279C5F
split-complementary
#27299C #9C5F27 #639C27
monochromatic
#0F0F3A #1B1C6B #27299C #3437CC #6567D8

Accessibility & contrast

On white

11.15
#27299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#27299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27299C
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27299C#FFFFFF#000000##FFFFFF
##27299C1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00369A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #27299c;
/* rgb */ color: rgb(39, 41, 156);
/* oklch */ color: oklch(37.0% 0.180 272.6);
Tailwind
colors: {
  custom: {
    50: '#7564ba',
    500: '#27299c',
    950: '#000000',
  },
}
SCSS
$custom: #27299c;
$custom-light: #7564ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27299c",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 238.974,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36989,
    "c": 0.17997,
    "h": 272.6
  },
  "luminance": 0.04418
}

Semantic roles & 50–950 ramp

primary
#27299C
secondary
#BEBD61
accent
#E045E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #27299C

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

Preview Lab → · Contrast checker → · Palette generator →

#27299C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva