#27338F#27338F

#27338F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.4% C 0.151 H 271.2°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#27338F
RGBrgb(39, 51, 143)
HSLhsl(233, 57%, 36%)
HSVhsv(233, 73%, 56%)
CMYKcmyk(72.7%, 64.3%, 0%, 43.9%)
CIE-LABlab(26.10, 27.87, -52.34)
CIE-LCHlch(26.10, 59.30, 298.04°)
OKLaboklab(37.4% 0.0032 -0.1511)
OKLCHoklch(37.4% 0.151 271.2)
XYZxyz(6.9768, 4.7815, 26.5365)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27338F #8F8327
analogous
#27678F #27338F #4F278F
triadic
#27338F #8F2733 #338F27
tetradic
#27338F #8F2767 #8F8327 #278F4F
square
#27338F #8F2767 #8F8327 #278F4F
split-complementary
#27338F #8F4F27 #678F27
monochromatic
#0D112F #1A225F #27338F #3444BF #5D6BD3

Accessibility & contrast

On white

10.73
#27338F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#27338F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27338F
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27338F#FFFFFF#000000##FFFFFF
##27338F1.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#004B5C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #27338f;
/* rgb */ color: rgb(39, 51, 143);
/* oklch */ color: oklch(37.4% 0.151 271.2);
Tailwind
colors: {
  custom: {
    50: '#716ab1',
    500: '#27338f',
    950: '#000000',
  },
}
SCSS
$custom: #27338f;
$custom-light: #716ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#27338f",
  "rgb": {
    "r": 39,
    "g": 51,
    "b": 143
  },
  "hsl": {
    "h": 233.077,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37404,
    "c": 0.15117,
    "h": 271.2
  },
  "luminance": 0.04782
}

Semantic roles & 50–950 ramp

primary
#27338F
secondary
#B8AD5A
accent
#CF47E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #27338F

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

Preview Lab → · Contrast checker → · Palette generator →

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