#27337A#27337A

#27337A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.121 H 271.6°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#27337A
RGBrgb(39, 51, 122)
HSLhsl(231, 52%, 32%)
HSVhsv(231, 68%, 48%)
CMYKcmyk(68%, 58.2%, 0%, 52.2%)
CIE-LABlab(24.33, 19.92, -42.08)
CIE-LCHlch(24.33, 46.56, 295.33°)
OKLaboklab(35.54% 0.0034 -0.121)
OKLCHoklch(35.54% 0.121 271.6)
XYZxyz(5.5322, 4.2036, 18.9284)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27337A #7A6E27
analogous
#275D7A #27337A #45277A
triadic
#27337A #7A2733 #337A27
tetradic
#27337A #7A275D #7A6E27 #277A45
square
#27337A #7A275D #7A6E27 #277A45
split-complementary
#27337A #7A4527 #5D7A27
monochromatic
#090C1D #18204C #27337A #3646A8 #5364C8

Accessibility & contrast

On white

11.41
#27337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#27337A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27337A
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27337A#FFFFFF#000000##FFFFFF
##27337A1.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003679
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #27337a;
/* rgb */ color: rgb(39, 51, 122);
/* oklch */ color: oklch(35.5% 0.121 271.6);
Tailwind
colors: {
  custom: {
    50: '#6c6aa1',
    500: '#27337a',
    950: '#000000',
  },
}
SCSS
$custom: #27337a;
$custom-light: #6c6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#27337a",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 231.325,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35538,
    "c": 0.12107,
    "h": 271.6
  },
  "luminance": 0.04204
}

Semantic roles & 50–950 ramp

primary
#27337A
secondary
#AC9F51
accent
#C64DDB
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #27337A

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

Preview Lab → · Contrast checker → · Palette generator →

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