#2725C4#2725C4

#2725C4 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.9% C 0.231 H 270.4°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2725C4
RGBrgb(39, 37, 196)
HSLhsl(241, 68%, 46%)
HSVhsv(241, 81%, 77%)
CMYKcmyk(80.1%, 81.1%, 0%, 23.1%)
CIE-LABlab(28.74, 54.14, -79.90)
CIE-LCHlch(28.74, 96.52, 304.12°)
OKLaboklab(40.93% 0.0017 -0.2313)
OKLCHoklch(40.93% 0.231 270.4)
XYZxyz(11.4587, 5.7387, 52.7176)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2725C4 #C2C425
analogous
#2572C4 #2725C4 #7725C4
triadic
#2725C4 #C42725 #25C427
tetradic
#2725C4 #C42572 #C2C425 #25C477
square
#2725C4 #C42572 #C2C425 #25C477
split-complementary
#2725C4 #C47725 #72C425
monochromatic
#13125D #1D1B91 #2725C4 #4B49DD #7E7DE6

Accessibility & contrast

On white

9.78
#2725C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2725C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2725C4
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2725C4#FFFFFF#000000##FFFFFF
##2725C41.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CC8
Deuteranopia (green-blind)
#003BC1
Tritanopia (blue-blind)
#005876
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2725c4;
/* rgb */ color: rgb(39, 37, 196);
/* oklch */ color: oklch(40.9% 0.231 270.4);
Tailwind
colors: {
  custom: {
    50: '#7f64d7',
    500: '#2725c4',
    950: '#000000',
  },
}
SCSS
$custom: #2725c4;
$custom-light: #7f64d7;
$custom-dark: #000000;
JSON
{
  "hex": "#2725c4",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 196
  },
  "hsl": {
    "h": 240.755,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.40932,
    "c": 0.23133,
    "h": 270.4
  },
  "luminance": 0.0574
}

Semantic roles & 50–950 ramp

primary
#2725C4
secondary
#CECF76
accent
#EB3DE9
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #2725C4

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

Preview Lab → · Contrast checker → · Palette generator →

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