#27299E#27299E

#27299E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.2% C 0.182 H 272.4°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#27299E
RGBrgb(39, 41, 158)
HSLhsl(239, 60%, 39%)
HSVhsv(239, 75%, 62%)
CMYKcmyk(75.3%, 74.1%, 0%, 38%)
CIE-LABlab(25.21, 39.63, -63.01)
CIE-LCHlch(25.21, 74.43, 302.17°)
OKLaboklab(37.2% 0.0078 -0.1823)
OKLCHoklch(37.2% 0.182 272.4)
XYZxyz(7.7991, 4.4850, 32.7958)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27299E #9E9C27
analogous
#27649E #27299E #60279E
triadic
#27299E #9E2729 #299E27
tetradic
#27299E #9E2764 #9E9C27 #279E60
square
#27299E #9E2764 #9E9C27 #279E60
split-complementary
#27299E #9E6027 #649E27
monochromatic
#0F103C #1B1C6D #27299E #3538CD #6668D9

Accessibility & contrast

On white

11.07
#27299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#27299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27299E
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27299E#FFFFFF#000000##FFFFFF
##27299E1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A1
Deuteranopia (green-blind)
#00369C
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #27299e;
/* rgb */ color: rgb(39, 41, 158);
/* oklch */ color: oklch(37.2% 0.182 272.4);
Tailwind
colors: {
  custom: {
    50: '#7564bc',
    500: '#27299e',
    950: '#000000',
  },
}
SCSS
$custom: #27299e;
$custom-light: #7564bc;
$custom-dark: #000000;
JSON
{
  "hex": "#27299e",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 238.992,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37202,
    "c": 0.18249,
    "h": 272.4
  },
  "luminance": 0.04486
}

Semantic roles & 50–950 ramp

primary
#27299E
secondary
#BFBE62
accent
#E144E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #27299E

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

Preview Lab → · Contrast checker → · Palette generator →

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