#2725BE#2725BE

#2725BE is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.2% C 0.225 H 270.8°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2725BE
RGBrgb(39, 37, 190)
HSLhsl(241, 67%, 45%)
HSVhsv(241, 81%, 75%)
CMYKcmyk(79.5%, 80.5%, 0%, 25.5%)
CIE-LABlab(28.04, 52.29, -77.54)
CIE-LCHlch(28.04, 93.52, 303.99°)
OKLaboklab(40.24% 0.003 -0.2245)
OKLCHoklch(40.24% 0.225 270.8)
XYZxyz(10.7894, 5.4709, 49.1926)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2725BE #BCBE25
analogous
#2570BE #2725BE #7325BE
triadic
#2725BE #BE2725 #25BE27
tetradic
#2725BE #BE2570 #BCBE25 #25BE73
square
#2725BE #BE2570 #BCBE25 #25BE73
split-complementary
#2725BE #BE7325 #70BE25
monochromatic
#121158 #1C1B8B #2725BE #4745DB #7A79E5

Accessibility & contrast

On white

10.03
#2725BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2725BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2725BE
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2725BE#FFFFFF#000000##FFFFFF
##2725BE1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC2
Deuteranopia (green-blind)
#003ABB
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2725be;
/* rgb */ color: rgb(39, 37, 190);
/* oklch */ color: oklch(40.2% 0.225 270.8);
Tailwind
colors: {
  custom: {
    50: '#7d63d3',
    500: '#2725be',
    950: '#000000',
  },
}
SCSS
$custom: #2725be;
$custom-light: #7d63d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2725be",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 190
  },
  "hsl": {
    "h": 240.784,
    "s": 67.401,
    "l": 44.51
  },
  "oklch": {
    "l": 0.40237,
    "c": 0.2245,
    "h": 270.8
  },
  "luminance": 0.05472
}

Semantic roles & 50–950 ramp

primary
#2725BE
secondary
#CBCD72
accent
#EA3EE8
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2725BE

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

Preview Lab → · Contrast checker → · Palette generator →

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