#27308D#27308D

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

Color values

HEX#27308D
RGBrgb(39, 48, 141)
HSLhsl(235, 57%, 35%)
HSVhsv(235, 72%, 55%)
CMYKcmyk(72.3%, 66%, 0%, 44.7%)
CIE-LABlab(25.16, 29.13, -52.64)
CIE-LCHlch(25.16, 60.16, 298.96°)
OKLaboklab(36.66% 0.0056 -0.152)
OKLCHoklch(36.66% 0.152 272.1)
XYZxyz(6.6998, 4.4677, 25.7034)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27308D #8D8427
analogous
#27638D #27308D #51278D
triadic
#27308D #8D2730 #308D27
tetradic
#27308D #8D2763 #8D8427 #278D51
square
#27308D #8D2763 #8D8427 #278D51
split-complementary
#27308D #8D5127 #638D27
monochromatic
#0C0F2D #1A205D #27308D #3440BD #5C67D2

Accessibility & contrast

On white

11.09
#27308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27308D
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27308D#FFFFFF#000000##FFFFFF
##27308D1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #27308d;
/* rgb */ color: rgb(39, 48, 141);
/* oklch */ color: oklch(36.7% 0.152 272.1);
Tailwind
colors: {
  custom: {
    50: '#7068af',
    500: '#27308d',
    950: '#000000',
  },
}
SCSS
$custom: #27308d;
$custom-light: #7068af;
$custom-dark: #000000;
JSON
{
  "hex": "#27308d",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 234.706,
    "s": 56.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.36656,
    "c": 0.15215,
    "h": 272.1
  },
  "luminance": 0.04468
}

Semantic roles & 50–950 ramp

primary
#27308D
secondary
#B7AF59
accent
#D348E0
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #27308D

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

Preview Lab → · Contrast checker → · Palette generator →

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