#2726C7#2726C7

#2726C7 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 41.4% C 0.234 H 270.2°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#2726C7
RGBrgb(39, 38, 199)
HSLhsl(240, 68%, 46%)
HSVhsv(240, 81%, 78%)
CMYKcmyk(80.4%, 80.9%, 0%, 22%)
CIE-LABlab(29.26, 54.59, -80.81)
CIE-LCHlch(29.26, 97.52, 304.04°)
OKLaboklab(41.39% 0.0009 -0.2339)
OKLCHoklch(41.39% 0.234 270.2)
XYZxyz(11.8351, 5.9397, 54.5445)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2726C7 #C6C726
analogous
#2676C7 #2726C7 #7826C7
triadic
#2726C7 #C72726 #26C727
tetradic
#2726C7 #C72676 #C6C726 #26C778
square
#2726C7 #C72676 #C6C726 #26C778
split-complementary
#2726C7 #C77826 #76C726
monochromatic
#131260 #1D1C94 #2726C7 #4E4DDD #8181E7

Accessibility & contrast

On white

9.60
#2726C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#2726C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2726C7
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2726C7#FFFFFF#000000##FFFFFF
##2726C71.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DCB
Deuteranopia (green-blind)
#003CC4
Tritanopia (blue-blind)
#005978
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2726c7;
/* rgb */ color: rgb(39, 38, 199);
/* oklch */ color: oklch(41.4% 0.234 270.2);
Tailwind
colors: {
  custom: {
    50: '#8065da',
    500: '#2726c7',
    950: '#000000',
  },
}
SCSS
$custom: #2726c7;
$custom-light: #8065da;
$custom-dark: #000000;
JSON
{
  "hex": "#2726c7",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 199
  },
  "hsl": {
    "h": 240.373,
    "s": 67.932,
    "l": 46.471
  },
  "oklch": {
    "l": 0.41393,
    "c": 0.23395,
    "h": 270.2
  },
  "luminance": 0.05941
}

Semantic roles & 50–950 ramp

primary
#2726C7
secondary
#CFCF79
accent
#EB3DEA
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2726C7

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

Preview Lab → · Contrast checker → · Palette generator →

#2726C7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva