#2725A4#2725A4

#2725A4 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.194 H 272.5°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#2725A4
RGBrgb(39, 37, 164)
HSLhsl(241, 63%, 39%)
HSVhsv(241, 77%, 64%)
CMYKcmyk(76.2%, 77.4%, 0%, 35.7%)
CIE-LABlab(25.06, 43.94, -66.92)
CIE-LCHlch(25.06, 80.05, 303.29°)
OKLaboklab(37.28% 0.0084 -0.1937)
OKLCHoklch(37.28% 0.194 272.5)
XYZxyz(8.1969, 4.4339, 35.5386)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2725A4 #A2A425
analogous
#2563A4 #2725A4 #6725A4
triadic
#2725A4 #A42725 #25A427
tetradic
#2725A4 #A42563 #A2A425 #25A467
square
#2725A4 #A42563 #A2A425 #25A467
split-complementary
#2725A4 #A46725 #63A425
monochromatic
#0F0E40 #1B1A72 #2725A4 #3735D1 #6967DD

Accessibility & contrast

On white

11.13
#2725A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2725A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2725A4
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2725A4#FFFFFF#000000##FFFFFF
##2725A41.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A8
Deuteranopia (green-blind)
#0035A2
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2725a4;
/* rgb */ color: rgb(39, 37, 164);
/* oklch */ color: oklch(37.3% 0.194 272.5);
Tailwind
colors: {
  custom: {
    50: '#7762c0',
    500: '#2725a4',
    950: '#000000',
  },
}
SCSS
$custom: #2725a4;
$custom-light: #7762c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2725a4",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 240.945,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37283,
    "c": 0.19385,
    "h": 272.5
  },
  "luminance": 0.04435
}

Semantic roles & 50–950 ramp

primary
#2725A4
secondary
#C1C262
accent
#E642E4
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2725A4

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

Preview Lab → · Contrast checker → · Palette generator →

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