#2725A2#2725A2

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

Color values

HEX#2725A2
RGBrgb(39, 37, 162)
HSLhsl(241, 63%, 39%)
HSVhsv(241, 77%, 64%)
CMYKcmyk(75.9%, 77.2%, 0%, 36.5%)
CIE-LABlab(24.83, 43.27, -66.07)
CIE-LCHlch(24.83, 78.98, 303.22°)
OKLaboklab(37.06% 0.0088 -0.1912)
OKLCHoklch(37.06% 0.191 272.6)
XYZxyz(8.0177, 4.3623, 34.5949)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2725A2 #A0A225
analogous
#2562A2 #2725A2 #6625A2
triadic
#2725A2 #A22725 #25A227
tetradic
#2725A2 #A22562 #A0A225 #25A266
square
#2725A2 #A22562 #A0A225 #25A266
split-complementary
#2725A2 #A26625 #62A225
monochromatic
#0F0E3E #1B1A70 #2725A2 #3634D1 #6765DC

Accessibility & contrast

On white

11.21
#2725A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2725A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2725A2
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2725A2#FFFFFF#000000##FFFFFF
##2725A21.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0035A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2725a2;
/* rgb */ color: rgb(39, 37, 162);
/* oklch */ color: oklch(37.1% 0.191 272.6);
Tailwind
colors: {
  custom: {
    50: '#7662bf',
    500: '#2725a2',
    950: '#000000',
  },
}
SCSS
$custom: #2725a2;
$custom-light: #7662bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2725a2",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 240.96,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37061,
    "c": 0.19141,
    "h": 272.6
  },
  "luminance": 0.04363
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2725A2

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

Preview Lab → · Contrast checker → · Palette generator →

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