#2725C1#2725C1

#2725C1 is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.6% C 0.228 H 270.6°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#2725C1
RGBrgb(39, 37, 193)
HSLhsl(241, 68%, 45%)
HSVhsv(241, 81%, 76%)
CMYKcmyk(79.8%, 80.8%, 0%, 24.3%)
CIE-LABlab(28.39, 53.22, -78.73)
CIE-LCHlch(28.39, 95.02, 304.06°)
OKLaboklab(40.58% 0.0023 -0.2279)
OKLCHoklch(40.58% 0.228 270.6)
XYZxyz(11.1206, 5.6035, 50.9372)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2725C1 #BFC125
analogous
#2571C1 #2725C1 #7525C1
triadic
#2725C1 #C12725 #25C127
tetradic
#2725C1 #C12571 #BFC125 #25C175
square
#2725C1 #C12571 #BFC125 #25C175
split-complementary
#2725C1 #C17525 #71C125
monochromatic
#12115A #1D1B8E #2725C1 #4947DC #7C7BE6

Accessibility & contrast

On white

9.90
#2725C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2725C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2725C1
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2725C1#FFFFFF#000000##FFFFFF
##2725C11.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC5
Deuteranopia (green-blind)
#003BBE
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2725c1;
/* rgb */ color: rgb(39, 37, 193);
/* oklch */ color: oklch(40.6% 0.228 270.6);
Tailwind
colors: {
  custom: {
    50: '#7e64d5',
    500: '#2725c1',
    950: '#000000',
  },
}
SCSS
$custom: #2725c1;
$custom-light: #7e64d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2725c1",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 193
  },
  "hsl": {
    "h": 240.769,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.40584,
    "c": 0.22792,
    "h": 270.6
  },
  "luminance": 0.05605
}

Semantic roles & 50–950 ramp

primary
#2725C1
secondary
#CCCE74
accent
#EB3DE8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2725C1

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

Preview Lab → · Contrast checker → · Palette generator →

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