#27348E#27348E

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

Color values

HEX#27348E
RGBrgb(39, 52, 142)
HSLhsl(232, 57%, 35%)
HSVhsv(232, 73%, 56%)
CMYKcmyk(72.5%, 63.4%, 0%, 44.3%)
CIE-LABlab(26.27, 26.83, -51.44)
CIE-LCHlch(26.27, 58.02, 297.54°)
OKLaboklab(37.5% 0.0025 -0.1485)
OKLCHoklch(37.5% 0.149 271)
XYZxyz(6.9455, 4.8396, 26.1540)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27348E #8E8127
analogous
#27678E #27348E #4D278E
triadic
#27348E #8E2734 #348E27
tetradic
#27348E #8E2767 #8E8127 #278E4D
square
#27348E #8E2767 #8E8127 #278E4D
split-complementary
#27348E #8E4D27 #678E27
monochromatic
#0D112E #1A225E #27348E #3446BE #5D6CD2

Accessibility & contrast

On white

10.67
#27348E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#27348E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27348E
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27348E#FFFFFF#000000##FFFFFF
##27348E1.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#00398C
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #27348e;
/* rgb */ color: rgb(39, 52, 142);
/* oklch */ color: oklch(37.5% 0.149 271.0);
Tailwind
colors: {
  custom: {
    50: '#706bb0',
    500: '#27348e',
    950: '#000000',
  },
}
SCSS
$custom: #27348e;
$custom-light: #706bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#27348e",
  "rgb": {
    "r": 39,
    "g": 52,
    "b": 142
  },
  "hsl": {
    "h": 232.427,
    "s": 56.906,
    "l": 35.49
  },
  "oklch": {
    "l": 0.37501,
    "c": 0.14852,
    "h": 271
  },
  "luminance": 0.0484
}

Semantic roles & 50–950 ramp

primary
#27348E
secondary
#B8AC59
accent
#CD48E0
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#090611
muted
#7B7A80

Preview Lab

Preview with #27348E

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

Preview Lab → · Contrast checker → · Palette generator →

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