#2726C1#2726C1

#2726C1 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.7% C 0.227 H 270.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2726C1
RGBrgb(39, 38, 193)
HSLhsl(240, 67%, 45%)
HSVhsv(240, 80%, 76%)
CMYKcmyk(79.8%, 80.3%, 0%, 24.3%)
CIE-LABlab(28.55, 52.73, -78.45)
CIE-LCHlch(28.55, 94.53, 303.91°)
OKLaboklab(40.7% 0.0021 -0.2271)
OKLCHoklch(40.7% 0.227 270.5)
XYZxyz(11.1522, 5.6665, 50.9477)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2726C1 #C0C126
analogous
#2672C1 #2726C1 #7426C1
triadic
#2726C1 #C12726 #26C127
tetradic
#2726C1 #C12672 #C0C126 #26C174
square
#2726C1 #C12672 #C0C126 #26C174
split-complementary
#2726C1 #C17426 #72C126
monochromatic
#12125B #1D1C8E #2726C1 #4A49DB #7D7CE5

Accessibility & contrast

On white

9.84
#2726C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2726C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2726C1
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2726C1#FFFFFF#000000##FFFFFF
##2726C11.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC5
Deuteranopia (green-blind)
#003BBE
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2726c1;
/* rgb */ color: rgb(39, 38, 193);
/* oklch */ color: oklch(40.7% 0.227 270.5);
Tailwind
colors: {
  custom: {
    50: '#7e64d5',
    500: '#2726c1',
    950: '#000000',
  },
}
SCSS
$custom: #2726c1;
$custom-light: #7e64d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2726c1",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 193
  },
  "hsl": {
    "h": 240.387,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.40699,
    "c": 0.22714,
    "h": 270.5
  },
  "luminance": 0.05668
}

Semantic roles & 50–950 ramp

primary
#2726C1
secondary
#CDCD75
accent
#EA3EE9
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2726C1

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

Preview Lab → · Contrast checker → · Palette generator →

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