#27309A#27309A

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

Color values

HEX#27309A
RGBrgb(39, 48, 154)
HSLhsl(235, 60%, 38%)
HSVhsv(235, 75%, 60%)
CMYKcmyk(74.7%, 68.8%, 0%, 39.6%)
CIE-LABlab(26.38, 33.89, -58.64)
CIE-LCHlch(26.38, 67.73, 300.03°)
OKLaboklab(37.92% 0.0045 -0.1696)
OKLCHoklch(37.92% 0.17 271.5)
XYZxyz(7.7244, 4.8775, 31.1000)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27309A #9A9127
analogous
#276A9A #27309A #57279A
triadic
#27309A #9A2730 #309A27
tetradic
#27309A #9A276A #9A9127 #279A57
square
#27309A #9A276A #9A9127 #279A57
split-complementary
#27309A #9A5727 #6A9A27
monochromatic
#0E1238 #1B2169 #27309A #333FCB #646DD8

Accessibility & contrast

On white

10.63
#27309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27309A
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27309A#FFFFFF#000000##FFFFFF
##27309A1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #27309a;
/* rgb */ color: rgb(39, 48, 154);
/* oklch */ color: oklch(37.9% 0.170 271.5);
Tailwind
colors: {
  custom: {
    50: '#7368b9',
    500: '#27309a',
    950: '#000000',
  },
}
SCSS
$custom: #27309a;
$custom-light: #7368b9;
$custom-dark: #000000;
JSON
{
  "hex": "#27309a",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 235.304,
    "s": 59.585,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37921,
    "c": 0.16967,
    "h": 271.5
  },
  "luminance": 0.04878
}

Semantic roles & 50–950 ramp

primary
#27309A
secondary
#BDB65F
accent
#D645E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #27309A

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

Preview Lab → · Contrast checker → · Palette generator →

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