#27299B#27299B

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

Color values

HEX#27299B
RGBrgb(39, 41, 155)
HSLhsl(239, 60%, 38%)
HSVhsv(239, 75%, 61%)
CMYKcmyk(74.8%, 73.5%, 0%, 39.2%)
CIE-LABlab(24.90, 38.59, -61.69)
CIE-LCHlch(24.90, 72.77, 302.03°)
OKLaboklab(36.88% 0.0083 -0.1785)
OKLCHoklch(36.88% 0.179 272.6)
XYZxyz(7.5440, 4.3830, 31.4524)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27299B #9B9927
analogous
#27639B #27299B #5F279B
triadic
#27299B #9B2729 #299B27
tetradic
#27299B #9B2763 #9B9927 #279B5F
square
#27299B #9B2763 #9B9927 #279B5F
split-complementary
#27299B #9B5F27 #639B27
monochromatic
#0E0F39 #1B1C6A #27299B #3336CC #6466D8

Accessibility & contrast

On white

11.19
#27299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27299B
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27299B#FFFFFF#000000##FFFFFF
##27299B1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003599
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #27299b;
/* rgb */ color: rgb(39, 41, 155);
/* oklch */ color: oklch(36.9% 0.179 272.6);
Tailwind
colors: {
  custom: {
    50: '#7464ba',
    500: '#27299b',
    950: '#000000',
  },
}
SCSS
$custom: #27299b;
$custom-light: #7464ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27299b",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 238.966,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36883,
    "c": 0.1787,
    "h": 272.6
  },
  "luminance": 0.04384
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27299B

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

Preview Lab → · Contrast checker → · Palette generator →

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