#27348B#27348B

#27348B is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.144 H 271.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#27348B
RGBrgb(39, 52, 139)
HSLhsl(232, 56%, 35%)
HSVhsv(232, 72%, 55%)
CMYKcmyk(71.9%, 62.6%, 0%, 45.5%)
CIE-LABlab(26.01, 25.70, -50.01)
CIE-LCHlch(26.01, 56.22, 297.20°)
OKLaboklab(37.23% 0.0026 -0.1443)
OKLCHoklch(37.23% 0.144 271)
XYZxyz(6.7233, 4.7507, 24.9838)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27348B #8B7E27
analogous
#27668B #27348B #4C278B
triadic
#27348B #8B2734 #348B27
tetradic
#27348B #8B2766 #8B7E27 #278B4C
square
#27348B #8B2766 #8B7E27 #278B4C
split-complementary
#27348B #8B4C27 #668B27
monochromatic
#0C102B #1A225B #27348B #3446BB #5B6BD1

Accessibility & contrast

On white

10.77
#27348B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#27348B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27348B
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27348B#FFFFFF#000000##FFFFFF
##27348B1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #27348b;
/* rgb */ color: rgb(39, 52, 139);
/* oklch */ color: oklch(37.2% 0.144 271.0);
Tailwind
colors: {
  custom: {
    50: '#6f6bae',
    500: '#27348b',
    950: '#000000',
  },
}
SCSS
$custom: #27348b;
$custom-light: #6f6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#27348b",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 232.2,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37228,
    "c": 0.14431,
    "h": 271
  },
  "luminance": 0.04751
}

Semantic roles & 50–950 ramp

primary
#27348B
secondary
#B6AA58
accent
#CC48DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #27348B

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

Preview Lab → · Contrast checker → · Palette generator →

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