#2726A2#2726A2

#2726A2 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.190 H 272.5°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#2726A2
RGBrgb(39, 38, 162)
HSLhsl(240, 62%, 39%)
HSVhsv(240, 77%, 64%)
CMYKcmyk(75.9%, 76.5%, 0%, 36.5%)
CIE-LABlab(25.03, 42.72, -65.75)
CIE-LCHlch(25.03, 78.40, 303.01°)
OKLaboklab(37.2% 0.0084 -0.1903)
OKLCHoklch(37.2% 0.19 272.5)
XYZxyz(8.0492, 4.4253, 34.6054)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2726A2 #A1A226
analogous
#2663A2 #2726A2 #6526A2
triadic
#2726A2 #A22726 #26A227
tetradic
#2726A2 #A22663 #A1A226 #26A265
square
#2726A2 #A22663 #A1A226 #26A265
split-complementary
#2726A2 #A26526 #63A226
monochromatic
#0F0F3F #1B1A70 #2726A2 #3735D0 #6867DB

Accessibility & contrast

On white

11.14
#2726A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2726A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2726A2
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2726A2#FFFFFF#000000##FFFFFF
##2726A21.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0035A0
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2726a2;
/* rgb */ color: rgb(39, 38, 162);
/* oklch */ color: oklch(37.2% 0.190 272.5);
Tailwind
colors: {
  custom: {
    50: '#7662bf',
    500: '#2726a2',
    950: '#000000',
  },
}
SCSS
$custom: #2726a2;
$custom-light: #7662bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2726a2",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 162
  },
  "hsl": {
    "h": 240.484,
    "s": 62,
    "l": 39.216
  },
  "oklch": {
    "l": 0.372,
    "c": 0.19046,
    "h": 272.5
  },
  "luminance": 0.04426
}

Semantic roles & 50–950 ramp

primary
#2726A2
secondary
#C0C163
accent
#E543E4
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2726A2

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

Preview Lab → · Contrast checker → · Palette generator →

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