#2726AC#2726AC

#2726AC is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.3% C 0.203 H 271.8°. Best body text is #FFFFFF at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#2726AC
RGBrgb(39, 38, 172)
HSLhsl(240, 64%, 41%)
HSVhsv(240, 78%, 67%)
CMYKcmyk(77.3%, 77.9%, 0%, 32.5%)
CIE-LABlab(26.14, 46.02, -69.95)
CIE-LCHlch(26.14, 83.73, 303.34°)
OKLaboklab(38.31% 0.0064 -0.2025)
OKLCHoklch(38.31% 0.203 271.8)
XYZxyz(8.9737, 4.7951, 39.4743)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2726AC #ABAC26
analogous
#2668AC #2726AC #6A26AC
triadic
#2726AC #AC2726 #26AC27
tetradic
#2726AC #AC2668 #ABAC26 #26AC6A
square
#2726AC #AC2668 #ABAC26 #26AC6A
split-complementary
#2726AC #AC6A26 #68AC26
monochromatic
#101048 #1C1B7A #2726AC #3D3BD4 #6E6EDF

Accessibility & contrast

On white

10.72
#2726AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2726AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2726AC
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2726AC#FFFFFF#000000##FFFFFF
##2726AC1.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2726ac;
/* rgb */ color: rgb(39, 38, 172);
/* oklch */ color: oklch(38.3% 0.203 271.8);
Tailwind
colors: {
  custom: {
    50: '#7963c6',
    500: '#2726ac',
    950: '#000000',
  },
}
SCSS
$custom: #2726ac;
$custom-light: #7963c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2726ac",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 172
  },
  "hsl": {
    "h": 240.448,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.38311,
    "c": 0.20259,
    "h": 271.8
  },
  "luminance": 0.04796
}

Semantic roles & 50–950 ramp

primary
#2726AC
secondary
#C5C568
accent
#E741E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2726AC

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

Preview Lab → · Contrast checker → · Palette generator →

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