#27309B#27309B

#27309B is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.171 H 271.5°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#27309B
RGBrgb(39, 48, 155)
HSLhsl(235, 60%, 38%)
HSVhsv(235, 75%, 61%)
CMYKcmyk(74.8%, 69%, 0%, 39.2%)
CIE-LABlab(26.48, 34.25, -59.09)
CIE-LCHlch(26.48, 68.30, 300.10°)
OKLaboklab(38.02% 0.0044 -0.1709)
OKLCHoklch(38.02% 0.171 271.5)
XYZxyz(7.8080, 4.9110, 31.5404)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27309B #9B9227
analogous
#276A9B #27309B #58279B
triadic
#27309B #9B2730 #309B27
tetradic
#27309B #9B276A #9B9227 #279B58
square
#27309B #9B276A #9B9227 #279B58
split-complementary
#27309B #9B5827 #6A9B27
monochromatic
#0E1239 #1B216A #27309B #333FCC #646DD8

Accessibility & contrast

On white

10.59
#27309B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#27309B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27309B
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27309B#FFFFFF#000000##FFFFFF
##27309B1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449E
Deuteranopia (green-blind)
#003999
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #27309b;
/* rgb */ color: rgb(39, 48, 155);
/* oklch */ color: oklch(38.0% 0.171 271.5);
Tailwind
colors: {
  custom: {
    50: '#7469ba',
    500: '#27309b',
    950: '#000000',
  },
}
SCSS
$custom: #27309b;
$custom-light: #7469ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27309b",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 235.345,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38021,
    "c": 0.17099,
    "h": 271.5
  },
  "luminance": 0.04912
}

Semantic roles & 50–950 ramp

primary
#27309B
secondary
#BEB760
accent
#D745E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #27309B

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

Preview Lab → · Contrast checker → · Palette generator →

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