#2726AD#2726AD

#2726AD is a dark, highly saturated blue. Relative luminance 0.048; OKLCH L 38.4% C 0.204 H 271.7°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#2726AD
RGBrgb(39, 38, 173)
HSLhsl(240, 64%, 41%)
HSVhsv(240, 78%, 68%)
CMYKcmyk(77.5%, 78%, 0%, 32.2%)
CIE-LABlab(26.26, 46.35, -70.36)
CIE-LCHlch(26.26, 84.26, 303.37°)
OKLaboklab(38.42% 0.0062 -0.2037)
OKLCHoklch(38.42% 0.204 271.7)
XYZxyz(9.0701, 4.8337, 39.9820)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2726AD #ACAD26
analogous
#2669AD #2726AD #6B26AD
triadic
#2726AD #AD2726 #26AD27
tetradic
#2726AD #AD2669 #ACAD26 #26AD6B
square
#2726AD #AD2669 #ACAD26 #26AD6B
split-complementary
#2726AD #AD6B26 #69AD26
monochromatic
#101049 #1C1B7B #2726AD #3D3CD4 #6F6EDF

Accessibility & contrast

On white

10.68
#2726AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2726AD
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2726AD#FFFFFF#000000##FFFFFF
##2726AD1.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2726ad;
/* rgb */ color: rgb(39, 38, 173);
/* oklch */ color: oklch(38.4% 0.204 271.7);
Tailwind
colors: {
  custom: {
    50: '#7963c7',
    500: '#2726ad',
    950: '#000000',
  },
}
SCSS
$custom: #2726ad;
$custom-light: #7963c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2726ad",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 173
  },
  "hsl": {
    "h": 240.444,
    "s": 63.981,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38423,
    "c": 0.20378,
    "h": 271.7
  },
  "luminance": 0.04835
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2726AD

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

Preview Lab → · Contrast checker → · Palette generator →

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