#27199F#27199F

#27199F is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.3% C 0.198 H 274.0°. Best body text is #FFFFFF at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#27199F
RGBrgb(39, 25, 159)
HSLhsl(246, 73%, 36%)
HSVhsv(246, 84%, 62%)
CMYKcmyk(75.5%, 84.3%, 0%, 37.6%)
CIE-LABlab(22.40, 48.35, -68.27)
CIE-LCHlch(22.40, 83.65, 305.31°)
OKLaboklab(35.27% 0.0138 -0.1974)
OKLCHoklch(35.27% 0.198 274)
XYZxyz(7.4403, 3.6290, 33.1025)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27199F #919F19
analogous
#194E9F #27199F #6A199F
triadic
#27199F #9F2719 #199F27
tetradic
#27199F #9F194E #919F19 #199F6A
square
#27199F #9F194E #919F19 #199F6A
split-complementary
#27199F #9F6A19 #4E9F19
monochromatic
#0D0835 #1A116A #27199F #3421D4 #5F4FE3

Accessibility & contrast

On white

12.17
#27199F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#27199F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27199F
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27199F#FFFFFF#000000##FFFFFF
##27199F1.0012.171.7312.17
#FFFFFF12.171.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA3
Deuteranopia (green-blind)
#002F9D
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #27199f;
/* rgb */ color: rgb(39, 25, 159);
/* oklch */ color: oklch(35.3% 0.198 274.0);
Tailwind
colors: {
  custom: {
    50: '#775bbd',
    500: '#27199f',
    950: '#000000',
  },
}
SCSS
$custom: #27199f;
$custom-light: #775bbd;
$custom-dark: #000000;
JSON
{
  "hex": "#27199f",
  "rgb": {
    "r": 39,
    "g": 25,
    "b": 159
  },
  "hsl": {
    "h": 246.269,
    "s": 72.826,
    "l": 36.078
  },
  "oklch": {
    "l": 0.35266,
    "c": 0.19788,
    "h": 274
  },
  "luminance": 0.0363
}

Semantic roles & 50–950 ramp

primary
#27199F
secondary
#B9C64E
accent
#F038DC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #27199F

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

Preview Lab → · Contrast checker → · Palette generator →

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