#2726AE#2726AE

#2726AE is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.5% C 0.205 H 271.7°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#2726AE
RGBrgb(39, 38, 174)
HSLhsl(240, 64%, 42%)
HSVhsv(240, 78%, 68%)
CMYKcmyk(77.6%, 78.2%, 0%, 31.8%)
CIE-LABlab(26.37, 46.68, -70.78)
CIE-LCHlch(26.37, 84.78, 303.40°)
OKLaboklab(38.54% 0.006 -0.2049)
OKLCHoklch(38.54% 0.205 271.7)
XYZxyz(9.1672, 4.8726, 40.4935)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2726AE #ADAE26
analogous
#2669AE #2726AE #6B26AE
triadic
#2726AE #AE2726 #26AE27
tetradic
#2726AE #AE2669 #ADAE26 #26AE6B
square
#2726AE #AE2669 #ADAE26 #26AE6B
split-complementary
#2726AE #AE6B26 #69AE26
monochromatic
#10104A #1C1B7C #2726AE #3E3DD5 #706FE0

Accessibility & contrast

On white

10.63
#2726AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#2726AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2726AE
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2726AE#FFFFFF#000000##FFFFFF
##2726AE1.0010.631.9710.63
#FFFFFF10.631.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#0037AC
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2726ae;
/* rgb */ color: rgb(39, 38, 174);
/* oklch */ color: oklch(38.5% 0.205 271.7);
Tailwind
colors: {
  custom: {
    50: '#7963c8',
    500: '#2726ae',
    950: '#000000',
  },
}
SCSS
$custom: #2726ae;
$custom-light: #7963c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2726ae",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 174
  },
  "hsl": {
    "h": 240.441,
    "s": 64.151,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38535,
    "c": 0.20498,
    "h": 271.7
  },
  "luminance": 0.04874
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2726AE

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

Preview Lab → · Contrast checker → · Palette generator →

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