#27199E#27199E

#27199E is a dark, vivid blue. Relative luminance 0.036; OKLCH L 35.1% C 0.197 H 274.1°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#27199E
RGBrgb(39, 25, 158)
HSLhsl(246, 73%, 36%)
HSVhsv(246, 84%, 62%)
CMYKcmyk(75.3%, 84.2%, 0%, 38%)
CIE-LABlab(22.28, 48.04, -67.86)
CIE-LCHlch(22.28, 83.14, 305.30°)
OKLaboklab(35.15% 0.0141 -0.1962)
OKLCHoklch(35.15% 0.197 274.1)
XYZxyz(7.3538, 3.5945, 32.6474)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#27199E #909E19
analogous
#194D9E #27199E #69199E
triadic
#27199E #9E2719 #199E27
tetradic
#27199E #9E194D #909E19 #199E69
square
#27199E #9E194D #909E19 #199E69
split-complementary
#27199E #9E6919 #4D9E19
monochromatic
#0D0834 #1A1169 #27199E #3421D3 #5E4EE3

Accessibility & contrast

On white

12.22
#27199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#27199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #27199E
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##27199E#FFFFFF#000000##FFFFFF
##27199E1.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003BA2
Deuteranopia (green-blind)
#002F9C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #27199e;
/* rgb */ color: rgb(39, 25, 158);
/* oklch */ color: oklch(35.1% 0.197 274.1);
Tailwind
colors: {
  custom: {
    50: '#775bbc',
    500: '#27199e',
    950: '#000000',
  },
}
SCSS
$custom: #27199e;
$custom-light: #775bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#27199e",
  "rgb": {
    "r": 39,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 246.316,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35146,
    "c": 0.19673,
    "h": 274.1
  },
  "luminance": 0.03595
}

Semantic roles & 50–950 ramp

primary
#27199E
secondary
#B9C54E
accent
#EF38DC
background
#F7F5FB
surface
#EEE9F7
border
#C9C5D0
text
#0A0412
muted
#7C7981

Preview Lab

Preview with #27199E

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

Preview Lab → · Contrast checker → · Palette generator →

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