#2726A8#2726A8

#2726A8 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.9% C 0.198 H 272.1°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2726A8
RGBrgb(39, 38, 168)
HSLhsl(240, 63%, 40%)
HSVhsv(240, 77%, 66%)
CMYKcmyk(76.8%, 77.4%, 0%, 34.1%)
CIE-LABlab(25.69, 44.71, -68.28)
CIE-LCHlch(25.69, 81.62, 303.22°)
OKLaboklab(37.86% 0.0072 -0.1976)
OKLCHoklch(37.86% 0.198 272.1)
XYZxyz(8.5953, 4.6438, 37.4815)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2726A8 #A7A826
analogous
#2666A8 #2726A8 #6826A8
triadic
#2726A8 #A82726 #26A827
tetradic
#2726A8 #A82666 #A7A826 #26A868
square
#2726A8 #A82666 #A7A826 #26A868
split-complementary
#2726A8 #A86826 #66A826
monochromatic
#100F44 #1B1B76 #2726A8 #3A39D2 #6C6BDE

Accessibility & contrast

On white

10.89
#2726A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2726A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2726A8
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2726A8#FFFFFF#000000##FFFFFF
##2726A81.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2726a8;
/* rgb */ color: rgb(39, 38, 168);
/* oklch */ color: oklch(37.9% 0.198 272.1);
Tailwind
colors: {
  custom: {
    50: '#7863c3',
    500: '#2726a8',
    950: '#000000',
  },
}
SCSS
$custom: #2726a8;
$custom-light: #7863c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2726a8",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 168
  },
  "hsl": {
    "h": 240.462,
    "s": 63.107,
    "l": 40.392
  },
  "oklch": {
    "l": 0.37864,
    "c": 0.19777,
    "h": 272.1
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

primary
#2726A8
secondary
#C3C466
accent
#E642E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2726A8

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

Preview Lab → · Contrast checker → · Palette generator →

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