#2725A3#2725A3

#2725A3 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.2% C 0.193 H 272.6°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#2725A3
RGBrgb(39, 37, 163)
HSLhsl(241, 63%, 39%)
HSVhsv(241, 77%, 64%)
CMYKcmyk(76.1%, 77.3%, 0%, 36.1%)
CIE-LABlab(24.95, 43.60, -66.49)
CIE-LCHlch(24.95, 79.51, 303.26°)
OKLaboklab(37.17% 0.0086 -0.1924)
OKLCHoklch(37.17% 0.193 272.6)
XYZxyz(8.1069, 4.3980, 35.0649)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2725A3 #A1A325
analogous
#2562A3 #2725A3 #6625A3
triadic
#2725A3 #A32725 #25A327
tetradic
#2725A3 #A32562 #A1A325 #25A366
square
#2725A3 #A32562 #A1A325 #25A366
split-complementary
#2725A3 #A36625 #62A325
monochromatic
#0F0E3F #1B1A71 #2725A3 #3734D1 #6866DC

Accessibility & contrast

On white

11.17
#2725A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2725A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2725A3
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2725A3#FFFFFF#000000##FFFFFF
##2725A31.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2725a3;
/* rgb */ color: rgb(39, 37, 163);
/* oklch */ color: oklch(37.2% 0.193 272.6);
Tailwind
colors: {
  custom: {
    50: '#7762c0',
    500: '#2725a3',
    950: '#000000',
  },
}
SCSS
$custom: #2725a3;
$custom-light: #7762c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2725a3",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 240.952,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37172,
    "c": 0.19263,
    "h": 272.6
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#2725A3
secondary
#C0C262
accent
#E642E3
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2725A3

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

Preview Lab → · Contrast checker → · Palette generator →

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