#2726A3#2726A3

#2726A3 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.192 H 272.5°. Best body text is #FFFFFF at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#2726A3
RGBrgb(39, 38, 163)
HSLhsl(240, 62%, 39%)
HSVhsv(240, 77%, 64%)
CMYKcmyk(76.1%, 76.7%, 0%, 36.1%)
CIE-LABlab(25.14, 43.05, -66.17)
CIE-LCHlch(25.14, 78.94, 303.05°)
OKLaboklab(37.31% 0.0082 -0.1915)
OKLCHoklch(37.31% 0.192 272.5)
XYZxyz(8.1385, 4.4610, 35.0754)
Luminance0.0446 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2726A3 #A2A326
analogous
#2664A3 #2726A3 #6626A3
triadic
#2726A3 #A32726 #26A327
tetradic
#2726A3 #A32664 #A2A326 #26A366
square
#2726A3 #A32664 #A2A326 #26A366
split-complementary
#2726A3 #A36626 #64A326
monochromatic
#0F0F40 #1B1A71 #2726A3 #3736D0 #6968DC

Accessibility & contrast

On white

11.10
#2726A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2726A3
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2726A3#FFFFFF#000000##FFFFFF
##2726A31.0011.101.8911.10
#FFFFFF11.101.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#0035A1
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2726a3;
/* rgb */ color: rgb(39, 38, 163);
/* oklch */ color: oklch(37.3% 0.192 272.5);
Tailwind
colors: {
  custom: {
    50: '#7762c0',
    500: '#2726a3',
    950: '#000000',
  },
}
SCSS
$custom: #2726a3;
$custom-light: #7762c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2726a3",
  "rgb": {
    "r": 39,
    "g": 38,
    "b": 163
  },
  "hsl": {
    "h": 240.48,
    "s": 62.189,
    "l": 39.412
  },
  "oklch": {
    "l": 0.3731,
    "c": 0.19169,
    "h": 272.5
  },
  "luminance": 0.04462
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2726A3

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

Preview Lab → · Contrast checker → · Palette generator →

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