#2726C4#2726C4

#2726C4 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 41.0% C 0.231 H 270.4°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#2726C4
RGBrgb(39, 38, 196)
HSLhsl(240, 68%, 46%)
HSVhsv(240, 81%, 77%)
CMYKcmyk(80.1%, 80.6%, 0%, 23.1%)
CIE-LABlab(28.91, 53.67, -79.63)
CIE-LCHlch(28.91, 96.03, 303.98°)
OKLaboklab(41.05% 0.0015 -0.2305)
OKLCHoklch(41.05% 0.231 270.4)
XYZxyz(11.4902, 5.8018, 52.7281)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2726C4 #C3C426
analogous
#2674C4 #2726C4 #7626C4
triadic
#2726C4 #C42726 #26C427
tetradic
#2726C4 #C42674 #C3C426 #26C476
square
#2726C4 #C42674 #C3C426 #26C476
split-complementary
#2726C4 #C47626 #74C426
monochromatic
#13125D #1D1C91 #2726C4 #4C4BDC #7F7EE6

Accessibility & contrast

On white

9.72
#2726C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#2726C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2726C4
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2726C4#FFFFFF#000000##FFFFFF
##2726C41.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC8
Deuteranopia (green-blind)
#003CC1
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2726c4;
/* rgb */ color: rgb(39, 38, 196);
/* oklch */ color: oklch(41.0% 0.231 270.4);
Tailwind
colors: {
  custom: {
    50: '#7f64d7',
    500: '#2726c4',
    950: '#000000',
  },
}
SCSS
$custom: #2726c4;
$custom-light: #7f64d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2726c4",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 196
  },
  "hsl": {
    "h": 240.38,
    "s": 67.521,
    "l": 45.882
  },
  "oklch": {
    "l": 0.41046,
    "c": 0.23055,
    "h": 270.4
  },
  "luminance": 0.05803
}

Semantic roles & 50–950 ramp

primary
#2726C4
secondary
#CECE77
accent
#EA3DE9
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2726C4

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

Preview Lab → · Contrast checker → · Palette generator →

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