#27308A#27308A

#27308A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.148 H 272.2°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#27308A
RGBrgb(39, 48, 138)
HSLhsl(235, 56%, 35%)
HSVhsv(235, 72%, 54%)
CMYKcmyk(71.7%, 65.2%, 0%, 45.9%)
CIE-LABlab(24.89, 28.01, -51.22)
CIE-LCHlch(24.89, 58.38, 298.67°)
OKLaboklab(36.37% 0.0058 -0.1479)
OKLCHoklch(36.37% 0.148 272.2)
XYZxyz(6.4796, 4.3796, 24.5437)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27308A #8A8127
analogous
#27628A #27308A #4F278A
triadic
#27308A #8A2730 #308A27
tetradic
#27308A #8A2762 #8A8127 #278A4F
square
#27308A #8A2762 #8A8127 #278A4F
split-complementary
#27308A #8A4F27 #628A27
monochromatic
#0C0F2B #1A1F5A #27308A #3441BA #5B66D1

Accessibility & contrast

On white

11.19
#27308A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#27308A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27308A
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27308A#FFFFFF#000000##FFFFFF
##27308A1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003788
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #27308a;
/* rgb */ color: rgb(39, 48, 138);
/* oklch */ color: oklch(36.4% 0.148 272.2);
Tailwind
colors: {
  custom: {
    50: '#7068ad',
    500: '#27308a',
    950: '#000000',
  },
}
SCSS
$custom: #27308a;
$custom-light: #7068ad;
$custom-dark: #000000;
JSON
{
  "hex": "#27308a",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 234.545,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36373,
    "c": 0.148,
    "h": 272.2
  },
  "luminance": 0.0438
}

Semantic roles & 50–950 ramp

primary
#27308A
secondary
#B6AD57
accent
#D249DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #27308A

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

Preview Lab → · Contrast checker → · Palette generator →

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