#27337B#27337B

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

Color values

HEX#27337B
RGBrgb(39, 51, 123)
HSLhsl(231, 52%, 32%)
HSVhsv(231, 68%, 48%)
CMYKcmyk(68.3%, 58.5%, 0%, 51.8%)
CIE-LABlab(24.41, 20.30, -42.59)
CIE-LCHlch(24.41, 47.18, 295.49°)
OKLaboklab(35.62% 0.0034 -0.1225)
OKLCHoklch(35.62% 0.123 271.6)
XYZxyz(5.5945, 4.2285, 19.2564)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27337B #7B6F27
analogous
#275D7B #27337B #45277B
triadic
#27337B #7B2733 #337B27
tetradic
#27337B #7B275D #7B6F27 #277B45
square
#27337B #7B275D #7B6F27 #277B45
split-complementary
#27337B #7B4527 #5D7B27
monochromatic
#0A0C1E #18204D #27337B #3646A9 #5464C9

Accessibility & contrast

On white

11.38
#27337B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#27337B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27337B
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27337B#FFFFFF#000000##FFFFFF
##27337B1.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7D
Deuteranopia (green-blind)
#00367A
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #27337b;
/* rgb */ color: rgb(39, 51, 123);
/* oklch */ color: oklch(35.6% 0.123 271.6);
Tailwind
colors: {
  custom: {
    50: '#6c6aa2',
    500: '#27337b',
    950: '#000000',
  },
}
SCSS
$custom: #27337b;
$custom-light: #6c6aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#27337b",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 231.429,
    "s": 51.852,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35623,
    "c": 0.12255,
    "h": 271.6
  },
  "luminance": 0.04229
}

Semantic roles & 50–950 ramp

primary
#27337B
secondary
#ADA051
accent
#C74CDB
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #27337B

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

Preview Lab → · Contrast checker → · Palette generator →

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