#2725A7#2725A7

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

Color values

HEX#2725A7
RGBrgb(39, 37, 167)
HSLhsl(241, 64%, 40%)
HSVhsv(241, 78%, 65%)
CMYKcmyk(76.6%, 77.8%, 0%, 34.5%)
CIE-LABlab(25.39, 44.92, -68.18)
CIE-LCHlch(25.39, 81.65, 303.38°)
OKLaboklab(37.62% 0.0078 -0.1973)
OKLCHoklch(37.62% 0.197 272.3)
XYZxyz(8.4710, 4.5436, 36.9823)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2725A7 #A5A725
analogous
#2564A7 #2725A7 #6825A7
triadic
#2725A7 #A72725 #25A727
tetradic
#2725A7 #A72564 #A5A725 #25A768
square
#2725A7 #A72564 #A5A725 #25A768
split-complementary
#2725A7 #A76825 #64A725
monochromatic
#100F43 #1B1A75 #2725A7 #3937D3 #6B69DE

Accessibility & contrast

On white

11.00
#2725A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2725A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2725A7
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2725A7#FFFFFF#000000##FFFFFF
##2725A71.0011.001.9111.00
#FFFFFF11.001.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042AB
Deuteranopia (green-blind)
#0036A5
Tritanopia (blue-blind)
#004C65
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2725a7;
/* rgb */ color: rgb(39, 37, 167);
/* oklch */ color: oklch(37.6% 0.197 272.3);
Tailwind
colors: {
  custom: {
    50: '#7862c2',
    500: '#2725a7',
    950: '#000000',
  },
}
SCSS
$custom: #2725a7;
$custom-light: #7862c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2725a7",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 167
  },
  "hsl": {
    "h": 240.923,
    "s": 63.725,
    "l": 40
  },
  "oklch": {
    "l": 0.37618,
    "c": 0.19748,
    "h": 272.3
  },
  "luminance": 0.04544
}

Semantic roles & 50–950 ramp

primary
#2725A7
secondary
#C2C464
accent
#E741E4
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2725A7

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

Preview Lab → · Contrast checker → · Palette generator →

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