#27308F#27308F

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

Color values

HEX#27308F
RGBrgb(39, 48, 143)
HSLhsl(235, 57%, 36%)
HSVhsv(235, 73%, 56%)
CMYKcmyk(72.7%, 66.4%, 0%, 43.9%)
CIE-LABlab(25.34, 29.87, -53.58)
CIE-LCHlch(25.34, 61.34, 299.14°)
OKLaboklab(36.85% 0.0054 -0.1548)
OKLCHoklch(36.85% 0.155 272)
XYZxyz(6.8499, 4.5277, 26.4942)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27308F #8F8627
analogous
#27648F #27308F #52278F
triadic
#27308F #8F2730 #308F27
tetradic
#27308F #8F2764 #8F8627 #278F52
square
#27308F #8F2764 #8F8627 #278F52
split-complementary
#27308F #8F5227 #648F27
monochromatic
#0D102F #1A205F #27308F #3440BF #5D68D3

Accessibility & contrast

On white

11.02
#27308F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#27308F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27308F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27308F#FFFFFF#000000##FFFFFF
##27308F1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #27308f;
/* rgb */ color: rgb(39, 48, 143);
/* oklch */ color: oklch(36.8% 0.155 272.0);
Tailwind
colors: {
  custom: {
    50: '#7168b1',
    500: '#27308f',
    950: '#000000',
  },
}
SCSS
$custom: #27308f;
$custom-light: #7168b1;
$custom-dark: #000000;
JSON
{
  "hex": "#27308f",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 143
  },
  "hsl": {
    "h": 234.808,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36847,
    "c": 0.15489,
    "h": 272
  },
  "luminance": 0.04528
}

Semantic roles & 50–950 ramp

primary
#27308F
secondary
#B8B05A
accent
#D347E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #27308F

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

Preview Lab → · Contrast checker → · Palette generator →

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