#27308E#27308E

#27308E is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.154 H 272.1°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#27308E
RGBrgb(39, 48, 142)
HSLhsl(235, 57%, 35%)
HSVhsv(235, 73%, 56%)
CMYKcmyk(72.5%, 66.2%, 0%, 44.3%)
CIE-LABlab(25.25, 29.50, -53.11)
CIE-LCHlch(25.25, 60.75, 299.05°)
OKLaboklab(36.75% 0.0055 -0.1534)
OKLCHoklch(36.75% 0.154 272.1)
XYZxyz(6.7745, 4.4976, 26.0970)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27308E #8E8527
analogous
#27638E #27308E #51278E
triadic
#27308E #8E2730 #308E27
tetradic
#27308E #8E2763 #8E8527 #278E51
square
#27308E #8E2763 #8E8527 #278E51
split-complementary
#27308E #8E5127 #638E27
monochromatic
#0D102E #1A205E #27308E #3440BE #5D67D2

Accessibility & contrast

On white

11.05
#27308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#27308E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27308E
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27308E#FFFFFF#000000##FFFFFF
##27308E1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004191
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #27308e;
/* rgb */ color: rgb(39, 48, 142);
/* oklch */ color: oklch(36.8% 0.154 272.1);
Tailwind
colors: {
  custom: {
    50: '#7168b0',
    500: '#27308e',
    950: '#000000',
  },
}
SCSS
$custom: #27308e;
$custom-light: #7168b0;
$custom-dark: #000000;
JSON
{
  "hex": "#27308e",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 234.757,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.36752,
    "c": 0.15352,
    "h": 272.1
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#27308E
secondary
#B8AF59
accent
#D348E0
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #27308E

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

Preview Lab → · Contrast checker → · Palette generator →

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