#2726BC#2726BC

#2726BC is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.1% C 0.221 H 270.8°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#2726BC
RGBrgb(39, 38, 188)
HSLhsl(240, 66%, 44%)
HSVhsv(240, 80%, 74%)
CMYKcmyk(79.3%, 79.8%, 0%, 26.3%)
CIE-LABlab(27.97, 51.16, -76.46)
CIE-LCHlch(27.97, 92.00, 303.79°)
OKLaboklab(40.13% 0.0031 -0.2214)
OKLCHoklch(40.13% 0.221 270.8)
XYZxyz(10.6038, 5.4472, 48.0598)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2726BC #BBBC26
analogous
#2670BC #2726BC #7226BC
triadic
#2726BC #BC2726 #26BC27
tetradic
#2726BC #BC2670 #BBBC26 #26BC72
square
#2726BC #BC2670 #BBBC26 #26BC72
split-complementary
#2726BC #BC7226 #70BC26
monochromatic
#121156 #1C1C89 #2726BC #4746DA #7979E4

Accessibility & contrast

On white

10.05
#2726BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2726BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2726BC
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2726BC#FFFFFF#000000##FFFFFF
##2726BC1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C0
Deuteranopia (green-blind)
#003AB9
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2726bc;
/* rgb */ color: rgb(39, 38, 188);
/* oklch */ color: oklch(40.1% 0.221 270.8);
Tailwind
colors: {
  custom: {
    50: '#7d64d2',
    500: '#2726bc',
    950: '#000000',
  },
}
SCSS
$custom: #2726bc;
$custom-light: #7d64d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2726bc",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 188
  },
  "hsl": {
    "h": 240.4,
    "s": 66.372,
    "l": 44.314
  },
  "oklch": {
    "l": 0.40125,
    "c": 0.22139,
    "h": 270.8
  },
  "luminance": 0.05448
}

Semantic roles & 50–950 ramp

primary
#2726BC
secondary
#CBCC72
accent
#E93FE8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2726BC

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

Preview Lab → · Contrast checker → · Palette generator →

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