#2726A7#2726A7

#2726A7 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.8% C 0.197 H 272.2°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#2726A7
RGBrgb(39, 38, 167)
HSLhsl(240, 63%, 40%)
HSVhsv(240, 77%, 65%)
CMYKcmyk(76.6%, 77.2%, 0%, 34.5%)
CIE-LABlab(25.58, 44.38, -67.86)
CIE-LCHlch(25.58, 81.08, 303.18°)
OKLaboklab(37.75% 0.0074 -0.1964)
OKLCHoklch(37.75% 0.197 272.2)
XYZxyz(8.5025, 4.6067, 36.9928)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2726A7 #A6A726
analogous
#2666A7 #2726A7 #6726A7
triadic
#2726A7 #A72726 #26A727
tetradic
#2726A7 #A72666 #A6A726 #26A767
square
#2726A7 #A72666 #A6A726 #26A767
split-complementary
#2726A7 #A76726 #66A726
monochromatic
#100F43 #1B1B75 #2726A7 #3A38D2 #6B6ADD

Accessibility & contrast

On white

10.93
#2726A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2726A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2726A7
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2726A7#FFFFFF#000000##FFFFFF
##2726A71.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004D65
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2726a7;
/* rgb */ color: rgb(39, 38, 167);
/* oklch */ color: oklch(37.8% 0.197 272.2);
Tailwind
colors: {
  custom: {
    50: '#7863c2',
    500: '#2726a7',
    950: '#000000',
  },
}
SCSS
$custom: #2726a7;
$custom-light: #7863c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2726a7",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 240.465,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.37753,
    "c": 0.19656,
    "h": 272.2
  },
  "luminance": 0.04608
}

Semantic roles & 50–950 ramp

primary
#2726A7
secondary
#C3C365
accent
#E642E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0513
muted
#7C7A82

Preview Lab

Preview with #2726A7

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

Preview Lab → · Contrast checker → · Palette generator →

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