#27307E#27307E

#27307E is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.131 H 272.7°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#27307E
RGBrgb(39, 48, 126)
HSLhsl(234, 53%, 32%)
HSVhsv(234, 69%, 49%)
CMYKcmyk(69%, 61.9%, 0%, 50.6%)
CIE-LABlab(23.84, 23.51, -45.41)
CIE-LCHlch(23.84, 51.14, 297.37°)
OKLaboklab(35.27% 0.0062 -0.1308)
OKLCHoklch(35.27% 0.131 272.7)
XYZxyz(5.6583, 4.0511, 20.2184)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27307E #7E7527
analogous
#275C7E #27307E #4A277E
triadic
#27307E #7E2730 #307E27
tetradic
#27307E #7E275C #7E7527 #277E4A
square
#27307E #7E275C #7E7527 #277E4A
split-complementary
#27307E #7E4A27 #5C7E27
monochromatic
#0A0C21 #191E4F #27307E #3542AD #5561CA

Accessibility & contrast

On white

11.60
#27307E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #27307E
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27307E#FFFFFF#000000##FFFFFF
##27307E1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#00357C
Tritanopia (blue-blind)
#004352
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #27307e;
/* rgb */ color: rgb(39, 48, 126);
/* oklch */ color: oklch(35.3% 0.131 272.7);
Tailwind
colors: {
  custom: {
    50: '#6d68a4',
    500: '#27307e',
    950: '#000000',
  },
}
SCSS
$custom: #27307e;
$custom-light: #6d68a4;
$custom-dark: #000000;
JSON
{
  "hex": "#27307e",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 233.793,
    "s": 52.727,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35273,
    "c": 0.131,
    "h": 272.7
  },
  "luminance": 0.04052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #27307E

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

Preview Lab → · Contrast checker → · Palette generator →

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