#27306E#27306E

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

Color values

HEX#27306E
RGBrgb(39, 48, 110)
HSLhsl(232, 48%, 29%)
HSVhsv(232, 65%, 43%)
CMYKcmyk(64.5%, 56.4%, 0%, 56.9%)
CIE-LABlab(22.55, 17.45, -37.30)
CIE-LCHlch(22.55, 41.18, 295.07°)
OKLaboklab(33.91% 0.0058 -0.107)
OKLCHoklch(33.91% 0.107 273.1)
XYZxyz(4.7072, 3.6706, 15.2093)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27306E #6E6527
analogous
#27546E #27306E #42276E
triadic
#27306E #6E2730 #306E27
tetradic
#27306E #6E2754 #6E6527 #276E42
square
#27306E #6E2754 #6E6527 #276E42
split-complementary
#27306E #6E4227 #546E27
monochromatic
#080A17 #171C41 #27306E #37449B #4F5DC1

Accessibility & contrast

On white

12.11
#27306E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#27306E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27306E
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27306E#FFFFFF#000000##FFFFFF
##27306E1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #27306e;
/* rgb */ color: rgb(39, 48, 110);
/* oklch */ color: oklch(33.9% 0.107 273.1);
Tailwind
colors: {
  custom: {
    50: '#696898',
    500: '#27306e',
    950: '#000000',
  },
}
SCSS
$custom: #27306e;
$custom-light: #696898;
$custom-dark: #000000;
JSON
{
  "hex": "#27306e",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 232.394,
    "s": 47.651,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33906,
    "c": 0.10716,
    "h": 273.1
  },
  "luminance": 0.03671
}

Semantic roles & 50–950 ramp

primary
#27306E
secondary
#A19650
accent
#C651D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #27306E

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

Preview Lab → · Contrast checker → · Palette generator →

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