#2D25C1#2D25C1

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

Color values

HEX#2D25C1
RGBrgb(45, 37, 193)
HSLhsl(243, 68%, 45%)
HSVhsv(243, 81%, 76%)
CMYKcmyk(76.7%, 80.8%, 0%, 24.3%)
CIE-LABlab(28.72, 53.57, -78.17)
CIE-LCHlch(28.72, 94.76, 304.43°)
OKLaboklab(40.9% 0.0092 -0.2262)
OKLCHoklch(40.9% 0.226 272.3)
XYZxyz(11.3662, 5.7300, 50.9487)
Luminance0.0573 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D25C1 #B9C125
analogous
#256BC1 #2D25C1 #7B25C1
triadic
#2D25C1 #C12D25 #25C12D
tetradic
#2D25C1 #C1256B #B9C125 #25C17B
square
#2D25C1 #C1256B #B9C125 #25C17B
split-complementary
#2D25C1 #C17B25 #6BC125
monochromatic
#15115A #211B8E #2D25C1 #4F47DC #807BE6

Accessibility & contrast

On white

9.78
#2D25C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D25C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D25C1
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D25C1#FFFFFF#000000##FFFFFF
##2D25C11.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)
#004BC5
Deuteranopia (green-blind)
#003CBE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d25c1;
/* rgb */ color: rgb(45, 37, 193);
/* oklch */ color: oklch(40.9% 0.226 272.3);
Tailwind
colors: {
  custom: {
    50: '#8064d5',
    500: '#2d25c1',
    950: '#000000',
  },
}
SCSS
$custom: #2d25c1;
$custom-light: #8064d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d25c1",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 193
  },
  "hsl": {
    "h": 243.077,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.40904,
    "c": 0.22637,
    "h": 272.3
  },
  "luminance": 0.05731
}

Semantic roles & 50–950 ramp

primary
#2D25C1
secondary
#C9CE74
accent
#EB3DE2
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2D25C1

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

Preview Lab → · Contrast checker → · Palette generator →

#2D25C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva