#27307B#27307B

#27307B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.0% C 0.127 H 272.8°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#27307B
RGBrgb(39, 48, 123)
HSLhsl(234, 52%, 32%)
HSVhsv(234, 68%, 48%)
CMYKcmyk(68.3%, 61%, 0%, 51.8%)
CIE-LABlab(23.59, 22.38, -43.93)
CIE-LCHlch(23.59, 49.30, 297.00°)
OKLaboklab(35.01% 0.0062 -0.1265)
OKLCHoklch(35.01% 0.127 272.8)
XYZxyz(5.4676, 3.9748, 19.2141)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27307B #7B7227
analogous
#275A7B #27307B #48277B
triadic
#27307B #7B2730 #307B27
tetradic
#27307B #7B275A #7B7227 #277B48
square
#27307B #7B275A #7B7227 #277B48
split-complementary
#27307B #7B4827 #5A7B27
monochromatic
#0A0C1E #181E4D #27307B #3642A9 #5460C9

Accessibility & contrast

On white

11.70
#27307B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#27307B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27307B
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27307B#FFFFFF#000000##FFFFFF
##27307B1.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #27307b;
/* rgb */ color: rgb(39, 48, 123);
/* oklch */ color: oklch(35.0% 0.127 272.8);
Tailwind
colors: {
  custom: {
    50: '#6c68a2',
    500: '#27307b',
    950: '#000000',
  },
}
SCSS
$custom: #27307b;
$custom-light: #6c68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#27307b",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 233.571,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35008,
    "c": 0.12662,
    "h": 272.8
  },
  "luminance": 0.03975
}

Semantic roles & 50–950 ramp

primary
#27307B
secondary
#ADA351
accent
#CC4CDB
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #27307B

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

Preview Lab → · Contrast checker → · Palette generator →

#27307B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva