#2D25B4#2D25B4

#2D25B4 is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.4% C 0.211 H 273.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2D25B4
RGBrgb(45, 37, 180)
HSLhsl(243, 66%, 43%)
HSVhsv(243, 79%, 71%)
CMYKcmyk(75%, 79.4%, 0%, 29.4%)
CIE-LABlab(27.23, 49.55, -72.93)
CIE-LCHlch(27.23, 88.17, 304.19°)
OKLaboklab(39.43% 0.0122 -0.211)
OKLCHoklch(39.43% 0.211 273.3)
XYZxyz(9.9792, 5.1753, 43.6442)
Luminance0.0518 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D25B4 #ACB425
analogous
#2564B4 #2D25B4 #7525B4
triadic
#2D25B4 #B42D25 #25B42D
tetradic
#2D25B4 #B42564 #ACB425 #25B475
square
#2D25B4 #B42564 #ACB425 #25B475
split-complementary
#2D25B4 #B47525 #64B425
monochromatic
#14104E #201B81 #2D25B4 #473FD7 #7871E2

Accessibility & contrast

On white

10.32
#2D25B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2D25B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D25B4
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D25B4#FFFFFF#000000##FFFFFF
##2D25B41.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B8
Deuteranopia (green-blind)
#0039B2
Tritanopia (blue-blind)
#00516D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d25b4;
/* rgb */ color: rgb(45, 37, 180);
/* oklch */ color: oklch(39.4% 0.211 273.3);
Tailwind
colors: {
  custom: {
    50: '#7d63cc',
    500: '#2d25b4',
    950: '#000000',
  },
}
SCSS
$custom: #2d25b4;
$custom-light: #7d63cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2d25b4",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 180
  },
  "hsl": {
    "h": 243.357,
    "s": 65.899,
    "l": 42.549
  },
  "oklch": {
    "l": 0.39432,
    "c": 0.21136,
    "h": 273.3
  },
  "luminance": 0.05176
}

Semantic roles & 50–950 ramp

primary
#2D25B4
secondary
#C4C96C
accent
#E93FDF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82

Preview Lab

Preview with #2D25B4

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

Preview Lab → · Contrast checker → · Palette generator →

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