#27337F#27337F

#27337F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.128 H 271.6°. Best body text is #FFFFFF at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#27337F
RGBrgb(39, 51, 127)
HSLhsl(232, 53%, 33%)
HSVhsv(232, 69%, 50%)
CMYKcmyk(69.3%, 59.8%, 0%, 50.2%)
CIE-LABlab(24.74, 21.83, -44.58)
CIE-LCHlch(24.74, 49.64, 296.08°)
OKLaboklab(35.97% 0.0035 -0.1284)
OKLCHoklch(35.97% 0.128 271.6)
XYZxyz(5.8500, 4.3308, 20.6022)
Luminance0.0433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27337F #7F7327
analogous
#275F7F #27337F #47277F
triadic
#27337F #7F2733 #337F27
tetradic
#27337F #7F275F #7F7327 #277F47
square
#27337F #7F275F #7F7327 #277F47
split-complementary
#27337F #7F4727 #5F7F27
monochromatic
#0A0D21 #192050 #27337F #3546AE #5565CB

Accessibility & contrast

On white

11.25
#27337F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#27337F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27337F
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27337F#FFFFFF#000000##FFFFFF
##27337F1.0011.251.8711.25
#FFFFFF11.251.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00377D
Tritanopia (blue-blind)
#004653
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #27337f;
/* rgb */ color: rgb(39, 51, 127);
/* oklch */ color: oklch(36.0% 0.128 271.6);
Tailwind
colors: {
  custom: {
    50: '#6d6aa5',
    500: '#27337f',
    950: '#000000',
  },
}
SCSS
$custom: #27337f;
$custom-light: #6d6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#27337f",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 127
  },
  "hsl": {
    "h": 231.818,
    "s": 53.012,
    "l": 32.549
  },
  "oklch": {
    "l": 0.35965,
    "c": 0.12843,
    "h": 271.6
  },
  "luminance": 0.04331
}

Semantic roles & 50–950 ramp

primary
#27337F
secondary
#B0A352
accent
#C94BDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #27337F

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

Preview Lab → · Contrast checker → · Palette generator →

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