#27307C#27307C

#27307C is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.128 H 272.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#27307C
RGBrgb(39, 48, 124)
HSLhsl(234, 52%, 32%)
HSVhsv(234, 69%, 49%)
CMYKcmyk(68.5%, 61.3%, 0%, 51.4%)
CIE-LABlab(23.67, 22.75, -44.42)
CIE-LCHlch(23.67, 49.91, 297.12°)
OKLaboklab(35.1% 0.0062 -0.1279)
OKLCHoklch(35.1% 0.128 272.8)
XYZxyz(5.5305, 4.0000, 19.5455)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27307C #7C7327
analogous
#275B7C #27307C #49277C
triadic
#27307C #7C2730 #307C27
tetradic
#27307C #7C275B #7C7327 #277C49
square
#27307C #7C275B #7C7327 #277C49
split-complementary
#27307C #7C4927 #5B7C27
monochromatic
#0A0C1F #181E4D #27307C #3642AB #5461C9

Accessibility & contrast

On white

11.67
#27307C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#27307C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27307C
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27307C#FFFFFF#000000##FFFFFF
##27307C1.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7F
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #27307c;
/* rgb */ color: rgb(39, 48, 124);
/* oklch */ color: oklch(35.1% 0.128 272.8);
Tailwind
colors: {
  custom: {
    50: '#6c68a3',
    500: '#27307c',
    950: '#000000',
  },
}
SCSS
$custom: #27307c;
$custom-light: #6c68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#27307c",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 124
  },
  "hsl": {
    "h": 233.647,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35096,
    "c": 0.12809,
    "h": 272.8
  },
  "luminance": 0.04
}

Semantic roles & 50–950 ramp

primary
#27307C
secondary
#AEA451
accent
#CC4CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #27307C

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

Preview Lab → · Contrast checker → · Palette generator →

#27307C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva