#2D25B6#2D25B6

#2D25B6 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.7% C 0.214 H 273.2°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2D25B6
RGBrgb(45, 37, 182)
HSLhsl(243, 66%, 43%)
HSVhsv(243, 80%, 71%)
CMYKcmyk(75.3%, 79.7%, 0%, 28.6%)
CIE-LABlab(27.46, 50.17, -73.75)
CIE-LCHlch(27.46, 89.20, 304.23°)
OKLaboklab(39.66% 0.0118 -0.2134)
OKLCHoklch(39.66% 0.214 273.2)
XYZxyz(10.1844, 5.2574, 44.7249)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D25B6 #AEB625
analogous
#2566B6 #2D25B6 #7525B6
triadic
#2D25B6 #B62D25 #25B62D
tetradic
#2D25B6 #B62566 #AEB625 #25B675
square
#2D25B6 #B62566 #AEB625 #25B675
split-complementary
#2D25B6 #B67525 #66B625
monochromatic
#141050 #201B83 #2D25B6 #4840D8 #7973E3

Accessibility & contrast

On white

10.24
#2D25B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2D25B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D25B6
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D25B6#FFFFFF#000000##FFFFFF
##2D25B61.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d25b6;
/* rgb */ color: rgb(45, 37, 182);
/* oklch */ color: oklch(39.7% 0.214 273.2);
Tailwind
colors: {
  custom: {
    50: '#7d63cd',
    500: '#2d25b6',
    950: '#000000',
  },
}
SCSS
$custom: #2d25b6;
$custom-light: #7d63cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d25b6",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 182
  },
  "hsl": {
    "h": 243.31,
    "s": 66.21,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39656,
    "c": 0.21369,
    "h": 273.2
  },
  "luminance": 0.05258
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D25B6

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

Preview Lab → · Contrast checker → · Palette generator →

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