#27308B#27308B

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

Color values

HEX#27308B
RGBrgb(39, 48, 139)
HSLhsl(235, 56%, 35%)
HSVhsv(235, 72%, 55%)
CMYKcmyk(71.9%, 65.5%, 0%, 45.5%)
CIE-LABlab(24.98, 28.38, -51.69)
CIE-LCHlch(24.98, 58.97, 298.77°)
OKLaboklab(36.47% 0.0057 -0.1493)
OKLCHoklch(36.47% 0.149 272.2)
XYZxyz(6.5523, 4.4087, 24.9267)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27308B #8B8227
analogous
#27628B #27308B #50278B
triadic
#27308B #8B2730 #308B27
tetradic
#27308B #8B2762 #8B8227 #278B50
square
#27308B #8B2762 #8B8227 #278B50
split-complementary
#27308B #8B5027 #628B27
monochromatic
#0C0F2B #1A1F5B #27308B #3441BB #5B66D1

Accessibility & contrast

On white

11.16
#27308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27308B
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27308B#FFFFFF#000000##FFFFFF
##27308B1.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #27308b;
/* rgb */ color: rgb(39, 48, 139);
/* oklch */ color: oklch(36.5% 0.149 272.2);
Tailwind
colors: {
  custom: {
    50: '#7068ae',
    500: '#27308b',
    950: '#000000',
  },
}
SCSS
$custom: #27308b;
$custom-light: #7068ae;
$custom-dark: #000000;
JSON
{
  "hex": "#27308b",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 234.6,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36467,
    "c": 0.14939,
    "h": 272.2
  },
  "luminance": 0.04409
}

Semantic roles & 50–950 ramp

primary
#27308B
secondary
#B6AE58
accent
#D248DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #27308B

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

Preview Lab → · Contrast checker → · Palette generator →

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