#27309F#27309F

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

Color values

HEX#27309F
RGBrgb(39, 48, 159)
HSLhsl(236, 61%, 39%)
HSVhsv(236, 75%, 62%)
CMYKcmyk(75.5%, 69.8%, 0%, 37.6%)
CIE-LABlab(26.87, 35.69, -60.89)
CIE-LCHlch(26.87, 70.58, 300.38°)
OKLaboklab(38.42% 0.0039 -0.1762)
OKLCHoklch(38.42% 0.176 271.3)
XYZxyz(8.1495, 5.0476, 33.3389)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27309F #9F9627
analogous
#276C9F #27309F #5A279F
triadic
#27309F #9F2730 #309F27
tetradic
#27309F #9F276C #9F9627 #279F5A
square
#27309F #9F276C #9F9627 #279F5A
split-complementary
#27309F #9F5A27 #6C9F27
monochromatic
#0F123D #1B216E #27309F #3641CE #676FDA

Accessibility & contrast

On white

10.45
#27309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#27309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27309F
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27309F#FFFFFF#000000##FFFFFF
##27309F1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27309f;
/* rgb */ color: rgb(39, 48, 159);
/* oklch */ color: oklch(38.4% 0.176 271.3);
Tailwind
colors: {
  custom: {
    50: '#7569bc',
    500: '#27309f',
    950: '#000000',
  },
}
SCSS
$custom: #27309f;
$custom-light: #7569bc;
$custom-dark: #000000;
JSON
{
  "hex": "#27309f",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 235.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38421,
    "c": 0.17621,
    "h": 271.3
  },
  "luminance": 0.05048
}

Semantic roles & 50–950 ramp

primary
#27309F
secondary
#C0B962
accent
#D844E4
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #27309F

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

Preview Lab → · Contrast checker → · Palette generator →

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