#2725BC#2725BC

#2725BC is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 40.0% C 0.222 H 270.9°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#2725BC
RGBrgb(39, 37, 188)
HSLhsl(241, 67%, 44%)
HSVhsv(241, 80%, 74%)
CMYKcmyk(79.3%, 80.3%, 0%, 26.3%)
CIE-LABlab(27.80, 51.66, -76.75)
CIE-LCHlch(27.80, 92.51, 303.95°)
OKLaboklab(40.01% 0.0034 -0.2222)
OKLCHoklch(40.01% 0.222 270.9)
XYZxyz(10.5723, 5.3841, 48.0492)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2725BC #BABC25
analogous
#256FBC #2725BC #7325BC
triadic
#2725BC #BC2725 #25BC27
tetradic
#2725BC #BC256F #BABC25 #25BC73
square
#2725BC #BC256F #BABC25 #25BC73
split-complementary
#2725BC #BC7325 #6FBC25
monochromatic
#121156 #1C1B89 #2725BC #4644DA #7977E4

Accessibility & contrast

On white

10.11
#2725BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2725BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2725BC
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2725BC#FFFFFF#000000##FFFFFF
##2725BC1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049C0
Deuteranopia (green-blind)
#003AB9
Tritanopia (blue-blind)
#005571
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2725bc;
/* rgb */ color: rgb(39, 37, 188);
/* oklch */ color: oklch(40.0% 0.222 270.9);
Tailwind
colors: {
  custom: {
    50: '#7d63d2',
    500: '#2725bc',
    950: '#000000',
  },
}
SCSS
$custom: #2725bc;
$custom-light: #7d63d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2725bc",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 240.795,
    "s": 67.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40006,
    "c": 0.22221,
    "h": 270.9
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#2725BC
secondary
#CBCC71
accent
#EA3EE8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0514
muted
#7D7A83

Preview Lab

Preview with #2725BC

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

Preview Lab → · Contrast checker → · Palette generator →

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