#2725A8#2725A8

#2725A8 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.7% C 0.199 H 272.2°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#2725A8
RGBrgb(39, 37, 168)
HSLhsl(241, 64%, 40%)
HSVhsv(241, 78%, 66%)
CMYKcmyk(76.8%, 78%, 0%, 34.1%)
CIE-LABlab(25.51, 45.25, -68.59)
CIE-LCHlch(25.51, 82.18, 303.41°)
OKLaboklab(37.73% 0.0076 -0.1985)
OKLCHoklch(37.73% 0.199 272.2)
XYZxyz(8.5638, 4.5807, 37.4710)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2725A8 #A6A825
analogous
#2564A8 #2725A8 #6825A8
triadic
#2725A8 #A82725 #25A827
tetradic
#2725A8 #A82564 #A6A825 #25A868
square
#2725A8 #A82564 #A6A825 #25A868
split-complementary
#2725A8 #A86825 #64A825
monochromatic
#100F44 #1B1A76 #2725A8 #3A37D3 #6B69DE

Accessibility & contrast

On white

10.96
#2725A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2725A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2725A8
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2725A8#FFFFFF#000000##FFFFFF
##2725A81.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AC
Deuteranopia (green-blind)
#0036A6
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2725a8;
/* rgb */ color: rgb(39, 37, 168);
/* oklch */ color: oklch(37.7% 0.199 272.2);
Tailwind
colors: {
  custom: {
    50: '#7862c3',
    500: '#2725a8',
    950: '#000000',
  },
}
SCSS
$custom: #2725a8;
$custom-light: #7862c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2725a8",
  "rgb": {
    "r": 39,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 240.916,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.3773,
    "c": 0.19868,
    "h": 272.2
  },
  "luminance": 0.04582
}

Semantic roles & 50–950 ramp

primary
#2725A8
secondary
#C3C465
accent
#E741E4
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #2725A8

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

Preview Lab → · Contrast checker → · Palette generator →

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