#27309C#27309C

#27309C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.172 H 271.4°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#27309C
RGBrgb(39, 48, 156)
HSLhsl(235, 60%, 38%)
HSVhsv(235, 75%, 61%)
CMYKcmyk(75%, 69.2%, 0%, 38.8%)
CIE-LABlab(26.58, 34.62, -59.54)
CIE-LCHlch(26.58, 68.87, 300.17°)
OKLaboklab(38.12% 0.0042 -0.1722)
OKLCHoklch(38.12% 0.172 271.4)
XYZxyz(7.8924, 4.9447, 31.9845)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27309C #9C9327
analogous
#276A9C #27309C #59279C
triadic
#27309C #9C2730 #309C27
tetradic
#27309C #9C276A #9C9327 #279C59
square
#27309C #9C276A #9C9327 #279C59
split-complementary
#27309C #9C5927 #6A9C27
monochromatic
#0F123A #1B216B #27309C #3440CC #656ED8

Accessibility & contrast

On white

10.56
#27309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#27309C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27309C
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27309C#FFFFFF#000000##FFFFFF
##27309C1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #27309c;
/* rgb */ color: rgb(39, 48, 156);
/* oklch */ color: oklch(38.1% 0.172 271.4);
Tailwind
colors: {
  custom: {
    50: '#7469ba',
    500: '#27309c',
    950: '#000000',
  },
}
SCSS
$custom: #27309c;
$custom-light: #7469ba;
$custom-dark: #000000;
JSON
{
  "hex": "#27309c",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 235.385,
    "s": 60,
    "l": 38.235
  },
  "oklch": {
    "l": 0.3812,
    "c": 0.17229,
    "h": 271.4
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#27309C
secondary
#BEB761
accent
#D745E3
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #27309C

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

Preview Lab → · Contrast checker → · Palette generator →

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