#27348A#27348A

#27348A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.143 H 271.1°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#27348A
RGBrgb(39, 52, 138)
HSLhsl(232, 56%, 35%)
HSVhsv(232, 72%, 54%)
CMYKcmyk(71.7%, 62.3%, 0%, 45.9%)
CIE-LABlab(25.93, 25.32, -49.53)
CIE-LCHlch(25.93, 55.62, 297.08°)
OKLaboklab(37.14% 0.0026 -0.1429)
OKLCHoklch(37.14% 0.143 271.1)
XYZxyz(6.6506, 4.7216, 24.6007)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27348A #8A7D27
analogous
#27668A #27348A #4B278A
triadic
#27348A #8A2734 #348A27
tetradic
#27348A #8A2766 #8A7D27 #278A4B
square
#27348A #8A2766 #8A7D27 #278A4B
split-complementary
#27348A #8A4B27 #668A27
monochromatic
#0C102B #1A225A #27348A #3446BA #5B6AD1

Accessibility & contrast

On white

10.80
#27348A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#27348A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27348A
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27348A#FFFFFF#000000##FFFFFF
##27348A1.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#003988
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #27348a;
/* rgb */ color: rgb(39, 52, 138);
/* oklch */ color: oklch(37.1% 0.143 271.1);
Tailwind
colors: {
  custom: {
    50: '#6f6bad',
    500: '#27348a',
    950: '#000000',
  },
}
SCSS
$custom: #27348a;
$custom-light: #6f6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#27348a",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 232.121,
    "s": 55.932,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37138,
    "c": 0.1429,
    "h": 271.1
  },
  "luminance": 0.04722
}

Semantic roles & 50–950 ramp

primary
#27348A
secondary
#B6A957
accent
#CB49DF
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #27348A

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

Preview Lab → · Contrast checker → · Palette generator →

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