#27337D#27337D

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

Color values

HEX#27337D
RGBrgb(39, 51, 125)
HSLhsl(232, 52%, 32%)
HSVhsv(232, 69%, 49%)
CMYKcmyk(68.8%, 59.2%, 0%, 51%)
CIE-LABlab(24.57, 21.07, -43.59)
CIE-LCHlch(24.57, 48.41, 295.79°)
OKLaboklab(35.79% 0.0035 -0.1254)
OKLCHoklch(35.79% 0.126 271.6)
XYZxyz(5.7210, 4.2791, 19.9225)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27337D #7D7127
analogous
#275E7D #27337D #46277D
triadic
#27337D #7D2733 #337D27
tetradic
#27337D #7D275E #7D7127 #277D46
square
#27337D #7D275E #7D7127 #277D46
split-complementary
#27337D #7D4627 #5E7D27
monochromatic
#0A0D20 #18204E #27337D #3646AC #5565CA

Accessibility & contrast

On white

11.31
#27337D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#27337D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27337D
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27337D#FFFFFF#000000##FFFFFF
##27337D1.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00377C
Tritanopia (blue-blind)
#004552
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #27337d;
/* rgb */ color: rgb(39, 51, 125);
/* oklch */ color: oklch(35.8% 0.126 271.6);
Tailwind
colors: {
  custom: {
    50: '#6c6aa3',
    500: '#27337d',
    950: '#000000',
  },
}
SCSS
$custom: #27337d;
$custom-light: #6c6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#27337d",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 231.628,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.35793,
    "c": 0.1255,
    "h": 271.6
  },
  "luminance": 0.0428
}

Semantic roles & 50–950 ramp

primary
#27337D
secondary
#AFA251
accent
#C84CDC
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #27337D

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

Preview Lab → · Contrast checker → · Palette generator →

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