#27306F#27306F

#27306F is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.0% C 0.109 H 273.1°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#27306F
RGBrgb(39, 48, 111)
HSLhsl(233, 48%, 29%)
HSVhsv(233, 65%, 44%)
CMYKcmyk(64.9%, 56.8%, 0%, 56.5%)
CIE-LABlab(22.63, 17.83, -37.82)
CIE-LCHlch(22.63, 41.81, 295.23°)
OKLaboklab(33.99% 0.0059 -0.1085)
OKLCHoklch(33.99% 0.109 273.1)
XYZxyz(4.7619, 3.6925, 15.4976)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27306F #6F6627
analogous
#27546F #27306F #42276F
triadic
#27306F #6F2730 #306F27
tetradic
#27306F #6F2754 #6F6627 #276F42
square
#27306F #6F2754 #6F6627 #276F42
split-complementary
#27306F #6F4227 #546F27
monochromatic
#080A17 #171C42 #27306F #37449C #4F5DC1

Accessibility & contrast

On white

12.08
#27306F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#27306F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27306F
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27306F#FFFFFF#000000##FFFFFF
##27306F1.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053971
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #27306f;
/* rgb */ color: rgb(39, 48, 111);
/* oklch */ color: oklch(34.0% 0.109 273.1);
Tailwind
colors: {
  custom: {
    50: '#696899',
    500: '#27306f',
    950: '#000000',
  },
}
SCSS
$custom: #27306f;
$custom-light: #696899;
$custom-dark: #000000;
JSON
{
  "hex": "#27306f",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 232.5,
    "s": 48,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33988,
    "c": 0.10869,
    "h": 273.1
  },
  "luminance": 0.03693
}

Semantic roles & 50–950 ramp

primary
#27306F
secondary
#A29750
accent
#C750D8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #27306F

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

Preview Lab → · Contrast checker → · Palette generator →

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