#27307D#27307D

#27307D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.130 H 272.7°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#27307D
RGBrgb(39, 48, 125)
HSLhsl(234, 52%, 32%)
HSVhsv(234, 69%, 49%)
CMYKcmyk(68.8%, 61.6%, 0%, 51%)
CIE-LABlab(23.76, 23.13, -44.92)
CIE-LCHlch(23.76, 50.53, 297.25°)
OKLaboklab(35.18% 0.0062 -0.1294)
OKLCHoklch(35.18% 0.13 272.7)
XYZxyz(5.5941, 4.0254, 19.8802)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27307D #7D7427
analogous
#275B7D #27307D #49277D
triadic
#27307D #7D2730 #307D27
tetradic
#27307D #7D275B #7D7427 #277D49
square
#27307D #7D275B #7D7427 #277D49
split-complementary
#27307D #7D4927 #5B7D27
monochromatic
#0A0C20 #181E4E #27307D #3642AC #5561CA

Accessibility & contrast

On white

11.63
#27307D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#27307D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27307D
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27307D#FFFFFF#000000##FFFFFF
##27307D1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #27307d;
/* rgb */ color: rgb(39, 48, 125);
/* oklch */ color: oklch(35.2% 0.130 272.7);
Tailwind
colors: {
  custom: {
    50: '#6d68a3',
    500: '#27307d',
    950: '#000000',
  },
}
SCSS
$custom: #27307d;
$custom-light: #6d68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#27307d",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 233.721,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35184,
    "c": 0.12954,
    "h": 272.7
  },
  "luminance": 0.04026
}

Semantic roles & 50–950 ramp

primary
#27307D
secondary
#AFA551
accent
#CD4CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #27307D

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

Preview Lab → · Contrast checker → · Palette generator →

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