#2725AC#2725AC

#2725AC is a dark, highly saturated blue. Relative luminance 0.047; OKLCH L 38.2% C 0.203 H 271.9°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#2725AC
RGBrgb(39, 37, 172)
HSLhsl(241, 65%, 41%)
HSVhsv(241, 78%, 67%)
CMYKcmyk(77.3%, 78.5%, 0%, 32.5%)
CIE-LABlab(25.96, 46.56, -70.26)
CIE-LCHlch(25.96, 84.28, 303.53°)
OKLaboklab(38.18% 0.0068 -0.2034)
OKLCHoklch(38.18% 0.203 271.9)
XYZxyz(8.9422, 4.7321, 39.4638)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2725AC #AAAC25
analogous
#2566AC #2725AC #6A25AC
triadic
#2725AC #AC2725 #25AC27
tetradic
#2725AC #AC2566 #AAAC25 #25AC6A
square
#2725AC #AC2566 #AAAC25 #25AC6A
split-complementary
#2725AC #AC6A25 #66AC25
monochromatic
#100F47 #1C1A7A #2725AC #3C3AD5 #6E6CDF

Accessibility & contrast

On white

10.79
#2725AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2725AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2725AC
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2725AC#FFFFFF#000000##FFFFFF
##2725AC1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044B0
Deuteranopia (green-blind)
#0037AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2725ac;
/* rgb */ color: rgb(39, 37, 172);
/* oklch */ color: oklch(38.2% 0.203 271.9);
Tailwind
colors: {
  custom: {
    50: '#7962c6',
    500: '#2725ac',
    950: '#000000',
  },
}
SCSS
$custom: #2725ac;
$custom-light: #7962c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2725ac",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 240.889,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.3818,
    "c": 0.20348,
    "h": 271.9
  },
  "luminance": 0.04733
}

Semantic roles & 50–950 ramp

primary
#2725AC
secondary
#C4C667
accent
#E840E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2725AC

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

Preview Lab → · Contrast checker → · Palette generator →

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