#27309E#27309E

#27309E is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.3% C 0.175 H 271.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#27309E
RGBrgb(39, 48, 158)
HSLhsl(235, 60%, 39%)
HSVhsv(235, 75%, 62%)
CMYKcmyk(75.3%, 69.6%, 0%, 38%)
CIE-LABlab(26.77, 35.34, -60.44)
CIE-LCHlch(26.77, 70.01, 300.31°)
OKLaboklab(38.32% 0.004 -0.1749)
OKLCHoklch(38.32% 0.175 271.3)
XYZxyz(8.0631, 5.0130, 32.8838)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27309E #9E9527
analogous
#276B9E #27309E #59279E
triadic
#27309E #9E2730 #309E27
tetradic
#27309E #9E276B #9E9527 #279E59
square
#27309E #9E276B #9E9527 #279E59
split-complementary
#27309E #9E5927 #6B9E27
monochromatic
#0F123C #1B216D #27309E #3541CD #666FD9

Accessibility & contrast

On white

10.49
#27309E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#27309E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27309E
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27309E#FFFFFF#000000##FFFFFF
##27309E1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #27309e;
/* rgb */ color: rgb(39, 48, 158);
/* oklch */ color: oklch(38.3% 0.175 271.3);
Tailwind
colors: {
  custom: {
    50: '#7469bc',
    500: '#27309e',
    950: '#000000',
  },
}
SCSS
$custom: #27309e;
$custom-light: #7469bc;
$custom-dark: #000000;
JSON
{
  "hex": "#27309e",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 235.462,
    "s": 60.406,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38321,
    "c": 0.17492,
    "h": 271.3
  },
  "luminance": 0.05014
}

Semantic roles & 50–950 ramp

primary
#27309E
secondary
#BFB862
accent
#D744E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #27309E

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

Preview Lab → · Contrast checker → · Palette generator →

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