#2725A6#2725A6

#2725A6 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.196 H 272.3°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2725A6
RGBrgb(39, 37, 166)
HSLhsl(241, 64%, 40%)
HSVhsv(241, 78%, 65%)
CMYKcmyk(76.5%, 77.7%, 0%, 34.9%)
CIE-LABlab(25.28, 44.59, -67.76)
CIE-LCHlch(25.28, 81.11, 303.35°)
OKLaboklab(37.51% 0.008 -0.1961)
OKLCHoklch(37.51% 0.196 272.3)
XYZxyz(8.3789, 4.5068, 36.4973)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2725A6 #A4A625
analogous
#2564A6 #2725A6 #6725A6
triadic
#2725A6 #A62725 #25A627
tetradic
#2725A6 #A62564 #A4A625 #25A667
square
#2725A6 #A62564 #A4A625 #25A667
split-complementary
#2725A6 #A66725 #64A625
monochromatic
#0F0F42 #1B1A74 #2725A6 #3836D2 #6A68DD

Accessibility & contrast

On white

11.04
#2725A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2725A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2725A6
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2725A6#FFFFFF#000000##FFFFFF
##2725A61.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AA
Deuteranopia (green-blind)
#0035A4
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2725a6;
/* rgb */ color: rgb(39, 37, 166);
/* oklch */ color: oklch(37.5% 0.196 272.3);
Tailwind
colors: {
  custom: {
    50: '#7762c2',
    500: '#2725a6',
    950: '#000000',
  },
}
SCSS
$custom: #2725a6;
$custom-light: #7762c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2725a6",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 240.93,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.37507,
    "c": 0.19627,
    "h": 272.3
  },
  "luminance": 0.04508
}

Semantic roles & 50–950 ramp

primary
#2725A6
secondary
#C2C364
accent
#E741E4
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0513
muted
#7C7982

Preview Lab

Preview with #2725A6

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

Preview Lab → · Contrast checker → · Palette generator →

#2725A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva