#27306A#27306A

#27306A is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.6% C 0.101 H 273.1°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#27306A
RGBrgb(39, 48, 106)
HSLhsl(232, 46%, 28%)
HSVhsv(232, 63%, 42%)
CMYKcmyk(63.2%, 54.7%, 0%, 58.4%)
CIE-LABlab(22.25, 15.93, -35.21)
CIE-LCHlch(22.25, 38.64, 294.35°)
OKLaboklab(33.58% 0.0055 -0.1008)
OKLCHoklch(33.58% 0.101 273.1)
XYZxyz(4.4943, 3.5855, 14.0881)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27306A #6A6127
analogous
#27516A #27306A #3F276A
triadic
#27306A #6A2730 #306A27
tetradic
#27306A #6A2751 #6A6127 #276A3F
square
#27306A #6A2751 #6A6127 #276A3F
split-complementary
#27306A #6A3F27 #516A27
monochromatic
#080A16 #171C3D #27306A #374497 #4E5DBE

Accessibility & contrast

On white

12.23
#27306A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#27306A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27306A
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27306A#FFFFFF#000000##FFFFFF
##27306A1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F386C
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #27306a;
/* rgb */ color: rgb(39, 48, 106);
/* oklch */ color: oklch(33.6% 0.101 273.1);
Tailwind
colors: {
  custom: {
    50: '#686895',
    500: '#27306a',
    950: '#000000',
  },
}
SCSS
$custom: #27306a;
$custom-light: #686895;
$custom-dark: #000000;
JSON
{
  "hex": "#27306a",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 106
  },
  "hsl": {
    "h": 231.94,
    "s": 46.207,
    "l": 28.431
  },
  "oklch": {
    "l": 0.33584,
    "c": 0.10098,
    "h": 273.1
  },
  "luminance": 0.03586
}

Semantic roles & 50–950 ramp

primary
#27306A
secondary
#9D9250
accent
#C452D6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #27306A

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

Preview Lab → · Contrast checker → · Palette generator →

#27306A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva