#27307A#27307A

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

Color values

HEX#27307A
RGBrgb(39, 48, 122)
HSLhsl(233, 52%, 32%)
HSVhsv(233, 68%, 48%)
CMYKcmyk(68%, 60.7%, 0%, 52.2%)
CIE-LABlab(23.51, 22.00, -43.43)
CIE-LCHlch(23.51, 48.68, 296.86°)
OKLaboklab(34.92% 0.0062 -0.125)
OKLCHoklch(34.92% 0.125 272.8)
XYZxyz(5.4053, 3.9499, 18.8861)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27307A #7A7127
analogous
#275A7A #27307A #48277A
triadic
#27307A #7A2730 #307A27
tetradic
#27307A #7A275A #7A7127 #277A48
square
#27307A #7A275A #7A7127 #277A48
split-complementary
#27307A #7A4827 #5A7A27
monochromatic
#090C1D #181E4C #27307A #3642A8 #5360C8

Accessibility & contrast

On white

11.73
#27307A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#27307A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27307A
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27307A#FFFFFF#000000##FFFFFF
##27307A1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7C
Deuteranopia (green-blind)
#003479
Tritanopia (blue-blind)
#004250
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #27307a;
/* rgb */ color: rgb(39, 48, 122);
/* oklch */ color: oklch(34.9% 0.125 272.8);
Tailwind
colors: {
  custom: {
    50: '#6c68a1',
    500: '#27307a',
    950: '#000000',
  },
}
SCSS
$custom: #27307a;
$custom-light: #6c68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#27307a",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 233.494,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3492,
    "c": 0.12516,
    "h": 272.8
  },
  "luminance": 0.0395
}

Semantic roles & 50–950 ramp

primary
#27307A
secondary
#ACA251
accent
#CC4DDB
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #27307A

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

Preview Lab → · Contrast checker → · Palette generator →

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