#27138F#27138F

#27138F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.7% C 0.184 H 276.4°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#27138F
RGBrgb(39, 19, 143)
HSLhsl(250, 77%, 32%)
HSVhsv(250, 87%, 56%)
CMYKcmyk(72.7%, 86.7%, 0%, 43.9%)
CIE-LABlab(19.56, 46.12, -63.13)
CIE-LCHlch(19.56, 78.18, 306.15°)
OKLaboklab(32.74% 0.0206 -0.1824)
OKLCHoklch(32.74% 0.184 276.4)
XYZxyz(6.0259, 2.8797, 26.2195)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27138F #7B8F13
analogous
#133D8F #27138F #65138F
triadic
#27138F #8F2713 #138F27
tetradic
#27138F #8F133D #7B8F13 #138F65
square
#27138F #8F133D #7B8F13 #138F65
split-complementary
#27138F #8F6513 #3D8F13
monochromatic
#0A0523 #180C59 #27138F #361AC5 #5438E5

Accessibility & contrast

On white

13.32
#27138F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#27138F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27138F
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27138F#FFFFFF#000000##FFFFFF
##27138F1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003492
Deuteranopia (green-blind)
#002A8D
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #27138f;
/* rgb */ color: rgb(39, 19, 143);
/* oklch */ color: oklch(32.7% 0.184 276.4);
Tailwind
colors: {
  custom: {
    50: '#7357b1',
    500: '#27138f',
    950: '#000000',
  },
}
SCSS
$custom: #27138f;
$custom-light: #7357b1;
$custom-dark: #000000;
JSON
{
  "hex": "#27138f",
  "rgb": {
    "r": 39,
    "g": 19,
    "b": 143
  },
  "hsl": {
    "h": 249.677,
    "s": 76.543,
    "l": 31.765
  },
  "oklch": {
    "l": 0.3274,
    "c": 0.18355,
    "h": 276.4
  },
  "luminance": 0.0288
}

Semantic roles & 50–950 ramp

primary
#27138F
secondary
#ADC33B
accent
#F335D4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0311
muted
#7C7880

Preview Lab

Preview with #27138F

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

Preview Lab → · Contrast checker → · Palette generator →

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