#2D25B7#2D25B7

#2D25B7 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.8% C 0.215 H 273.1°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2D25B7
RGBrgb(45, 37, 183)
HSLhsl(243, 66%, 43%)
HSVhsv(243, 80%, 72%)
CMYKcmyk(75.4%, 79.8%, 0%, 28.2%)
CIE-LABlab(27.57, 50.49, -74.15)
CIE-LCHlch(27.57, 89.71, 304.25°)
OKLaboklab(39.77% 0.0115 -0.2145)
OKLCHoklch(39.77% 0.215 273.1)
XYZxyz(10.2881, 5.2988, 45.2711)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D25B7 #AFB725
analogous
#2566B7 #2D25B7 #7625B7
triadic
#2D25B7 #B72D25 #25B72D
tetradic
#2D25B7 #B72566 #AFB725 #25B776
square
#2D25B7 #B72566 #AFB725 #25B776
split-complementary
#2D25B7 #B77625 #66B725
monochromatic
#141051 #201B84 #2D25B7 #4941D9 #7A74E3

Accessibility & contrast

On white

10.19
#2D25B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2D25B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D25B7
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D25B7#FFFFFF#000000##FFFFFF
##2D25B71.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BB
Deuteranopia (green-blind)
#003AB5
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2d25b7;
/* rgb */ color: rgb(45, 37, 183);
/* oklch */ color: oklch(39.8% 0.215 273.1);
Tailwind
colors: {
  custom: {
    50: '#7e63ce',
    500: '#2d25b7',
    950: '#000000',
  },
}
SCSS
$custom: #2d25b7;
$custom-light: #7e63ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2d25b7",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 183
  },
  "hsl": {
    "h": 243.288,
    "s": 66.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39769,
    "c": 0.21486,
    "h": 273.1
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#2D25B7
secondary
#C5CA6E
accent
#E93FE0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82

Preview Lab

Preview with #2D25B7

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

Preview Lab → · Contrast checker → · Palette generator →

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