#27307F#27307F

#27307F is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.132 H 272.7°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#27307F
RGBrgb(39, 48, 127)
HSLhsl(234, 53%, 33%)
HSVhsv(234, 69%, 50%)
CMYKcmyk(69.3%, 62.2%, 0%, 50.2%)
CIE-LABlab(23.92, 23.89, -45.91)
CIE-LCHlch(23.92, 51.75, 297.49°)
OKLaboklab(35.36% 0.0062 -0.1323)
OKLCHoklch(35.36% 0.132 272.7)
XYZxyz(5.7231, 4.0770, 20.5599)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27307F #7F7627
analogous
#275C7F #27307F #4A277F
triadic
#27307F #7F2730 #307F27
tetradic
#27307F #7F275C #7F7627 #277F4A
square
#27307F #7F275C #7F7627 #277F4A
split-complementary
#27307F #7F4A27 #5C7F27
monochromatic
#0A0D21 #191E50 #27307F #3542AE #5561CB

Accessibility & contrast

On white

11.57
#27307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#27307F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27307F
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27307F#FFFFFF#000000##FFFFFF
##27307F1.0011.571.8211.57
#FFFFFF11.571.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #27307f;
/* rgb */ color: rgb(39, 48, 127);
/* oklch */ color: oklch(35.4% 0.132 272.7);
Tailwind
colors: {
  custom: {
    50: '#6d68a5',
    500: '#27307f',
    950: '#000000',
  },
}
SCSS
$custom: #27307f;
$custom-light: #6d68a5;
$custom-dark: #000000;
JSON
{
  "hex": "#27307f",
  "rgb": {
    "r": 39,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 233.864,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35363,
    "c": 0.13243,
    "h": 272.7
  },
  "luminance": 0.04078
}

Semantic roles & 50–950 ramp

primary
#27307F
secondary
#B0A652
accent
#CE4BDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #27307F

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

Preview Lab → · Contrast checker → · Palette generator →

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