#27308C#27308C

#27308C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.6% C 0.151 H 272.1°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#27308C
RGBrgb(39, 48, 140)
HSLhsl(235, 56%, 35%)
HSVhsv(235, 72%, 55%)
CMYKcmyk(72.1%, 65.7%, 0%, 45.1%)
CIE-LABlab(25.07, 28.75, -52.17)
CIE-LCHlch(25.07, 59.57, 298.86°)
OKLaboklab(36.56% 0.0056 -0.1507)
OKLCHoklch(36.56% 0.151 272.1)
XYZxyz(6.6257, 4.4380, 25.3133)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27308C #8C8327
analogous
#27638C #27308C #50278C
triadic
#27308C #8C2730 #308C27
tetradic
#27308C #8C2763 #8C8327 #278C50
square
#27308C #8C2763 #8C8327 #278C50
split-complementary
#27308C #8C5027 #638C27
monochromatic
#0C0F2C #1A205C #27308C #3440BC #5C66D2

Accessibility & contrast

On white

11.12
#27308C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#27308C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27308C
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27308C#FFFFFF#000000##FFFFFF
##27308C1.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #27308c;
/* rgb */ color: rgb(39, 48, 140);
/* oklch */ color: oklch(36.6% 0.151 272.1);
Tailwind
colors: {
  custom: {
    50: '#7068ae',
    500: '#27308c',
    950: '#000000',
  },
}
SCSS
$custom: #27308c;
$custom-light: #7068ae;
$custom-dark: #000000;
JSON
{
  "hex": "#27308c",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 234.653,
    "s": 56.425,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36562,
    "c": 0.15078,
    "h": 272.1
  },
  "luminance": 0.04439
}

Semantic roles & 50–950 ramp

primary
#27308C
secondary
#B7AE58
accent
#D248E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #27308C

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

Preview Lab → · Contrast checker → · Palette generator →

#27308C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva