#2725B1#2725B1

#2725B1 is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.7% C 0.209 H 271.6°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#2725B1
RGBrgb(39, 37, 177)
HSLhsl(241, 65%, 42%)
HSVhsv(241, 79%, 69%)
CMYKcmyk(78%, 79.1%, 0%, 30.6%)
CIE-LABlab(26.53, 48.17, -72.31)
CIE-LCHlch(26.53, 86.89, 303.67°)
OKLaboklab(38.75% 0.0057 -0.2093)
OKLCHoklch(38.75% 0.209 271.6)
XYZxyz(9.4314, 4.9278, 42.0405)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2725B1 #AFB125
analogous
#2569B1 #2725B1 #6D25B1
triadic
#2725B1 #B12725 #25B127
tetradic
#2725B1 #B12569 #AFB125 #25B16D
square
#2725B1 #B12569 #AFB125 #25B16D
split-complementary
#2725B1 #B16D25 #69B125
monochromatic
#11104C #1C1A7E #2725B1 #3F3DD6 #716FE1

Accessibility & contrast

On white

10.58
#2725B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2725B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2725B1
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2725B1#FFFFFF#000000##FFFFFF
##2725B11.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#0038AF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2725b1;
/* rgb */ color: rgb(39, 37, 177);
/* oklch */ color: oklch(38.7% 0.209 271.6);
Tailwind
colors: {
  custom: {
    50: '#7a63ca',
    500: '#2725b1',
    950: '#000000',
  },
}
SCSS
$custom: #2725b1;
$custom-light: #7a63ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2725b1",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 240.857,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.38747,
    "c": 0.20941,
    "h": 271.6
  },
  "luminance": 0.04929
}

Semantic roles & 50–950 ramp

primary
#2725B1
secondary
#C6C86A
accent
#E83FE6
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2725B1

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

Preview Lab → · Contrast checker → · Palette generator →

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