#2726AF#2726AF

#2726AF is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.6% C 0.206 H 271.6°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#2726AF
RGBrgb(39, 38, 175)
HSLhsl(240, 64%, 42%)
HSVhsv(240, 78%, 69%)
CMYKcmyk(77.7%, 78.3%, 0%, 31.4%)
CIE-LABlab(26.48, 47.00, -71.19)
CIE-LCHlch(26.48, 85.31, 303.43°)
OKLaboklab(38.65% 0.0058 -0.2061)
OKLCHoklch(38.65% 0.206 271.6)
XYZxyz(9.2651, 4.9117, 41.0089)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2726AF #AEAF26
analogous
#266AAF #2726AF #6C26AF
triadic
#2726AF #AF2726 #26AF27
tetradic
#2726AF #AF266A #AEAF26 #26AF6C
square
#2726AF #AF266A #AEAF26 #26AF6C
split-complementary
#2726AF #AF6C26 #6AAF26
monochromatic
#11104A #1C1B7D #2726AF #3E3DD5 #7070E0

Accessibility & contrast

On white

10.59
#2726AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2726AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2726AF
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2726AF#FFFFFF#000000##FFFFFF
##2726AF1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2726af;
/* rgb */ color: rgb(39, 38, 175);
/* oklch */ color: oklch(38.6% 0.206 271.6);
Tailwind
colors: {
  custom: {
    50: '#7a63c8',
    500: '#2726af',
    950: '#000000',
  },
}
SCSS
$custom: #2726af;
$custom-light: #7a63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2726af",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 240.438,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38648,
    "c": 0.20617,
    "h": 271.6
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

primary
#2726AF
secondary
#C6C76A
accent
#E740E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2726AF

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

Preview Lab → · Contrast checker → · Palette generator →

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