#2725A0#2725A0

#2725A0 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.189 H 272.8°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#2725A0
RGBrgb(39, 37, 160)
HSLhsl(241, 62%, 39%)
HSVhsv(241, 77%, 63%)
CMYKcmyk(75.6%, 76.9%, 0%, 37.3%)
CIE-LABlab(24.61, 42.61, -65.22)
CIE-LCHlch(24.61, 77.90, 303.16°)
OKLaboklab(36.84% 0.0092 -0.1887)
OKLCHoklch(36.84% 0.189 272.8)
XYZxyz(7.8413, 4.2917, 33.6660)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2725A0 #9EA025
analogous
#2560A0 #2725A0 #6425A0
triadic
#2725A0 #A02725 #25A027
tetradic
#2725A0 #A02560 #9EA025 #25A064
square
#2725A0 #A02560 #9EA025 #25A064
split-complementary
#2725A0 #A06425 #60A025
monochromatic
#0F0E3D #1B1A6E #2725A0 #3532D0 #6664DB

Accessibility & contrast

On white

11.30
#2725A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2725A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2725A0
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2725A0#FFFFFF#000000##FFFFFF
##2725A01.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2725a0;
/* rgb */ color: rgb(39, 37, 160);
/* oklch */ color: oklch(36.8% 0.189 272.8);
Tailwind
colors: {
  custom: {
    50: '#7662bd',
    500: '#2725a0',
    950: '#000000',
  },
}
SCSS
$custom: #2725a0;
$custom-light: #7662bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2725a0",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 240.976,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.3684,
    "c": 0.18897,
    "h": 272.8
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2725A0

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

Preview Lab → · Contrast checker → · Palette generator →

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