#27299F#27299F

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

Color values

HEX#27299F
RGBrgb(39, 41, 159)
HSLhsl(239, 61%, 39%)
HSVhsv(239, 75%, 62%)
CMYKcmyk(75.5%, 74.2%, 0%, 37.6%)
CIE-LABlab(25.32, 39.97, -63.44)
CIE-LCHlch(25.32, 74.98, 302.21°)
OKLaboklab(37.31% 0.0076 -0.1836)
OKLCHoklch(37.31% 0.184 272.4)
XYZxyz(7.8855, 4.5196, 33.2509)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27299F #9F9D27
analogous
#27659F #27299F #61279F
triadic
#27299F #9F2729 #299F27
tetradic
#27299F #9F2765 #9F9D27 #279F61
square
#27299F #9F2765 #9F9D27 #279F61
split-complementary
#27299F #9F6127 #659F27
monochromatic
#0F103D #1B1C6E #27299F #3638CE #6769DA

Accessibility & contrast

On white

11.03
#27299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27299F
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27299F#FFFFFF#000000##FFFFFF
##27299F1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27299f;
/* rgb */ color: rgb(39, 41, 159);
/* oklch */ color: oklch(37.3% 0.184 272.4);
Tailwind
colors: {
  custom: {
    50: '#7564bd',
    500: '#27299f',
    950: '#000000',
  },
}
SCSS
$custom: #27299f;
$custom-light: #7564bd;
$custom-dark: #000000;
JSON
{
  "hex": "#27299f",
  "rgb": {
    "r": 39,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 239,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37309,
    "c": 0.18376,
    "h": 272.4
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27299F

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

Preview Lab → · Contrast checker → · Palette generator →

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