#2D25A3#2D25A3

#2D25A3 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.191 H 274.8°. Best body text is #FFFFFF at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#2D25A3
RGBrgb(45, 37, 163)
HSLhsl(244, 63%, 39%)
HSVhsv(244, 77%, 64%)
CMYKcmyk(72.4%, 77.3%, 0%, 36.1%)
CIE-LABlab(25.34, 44.13, -65.84)
CIE-LCHlch(25.34, 79.26, 303.83°)
OKLaboklab(37.55% 0.0161 -0.1904)
OKLCHoklch(37.55% 0.191 274.8)
XYZxyz(8.3524, 4.5246, 35.0764)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D25A3 #9BA325
analogous
#255CA3 #2D25A3 #6C25A3
triadic
#2D25A3 #A32D25 #25A32D
tetradic
#2D25A3 #A3255C #9BA325 #25A36C
square
#2D25A3 #A3255C #9BA325 #25A36C
split-complementary
#2D25A3 #A36C25 #5CA325
monochromatic
#110E3F #1F1A71 #2D25A3 #3E34D1 #6E66DC

Accessibility & contrast

On white

11.02
#2D25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2D25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D25A3
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D25A3#FFFFFF#000000##FFFFFF
##2D25A31.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d25a3;
/* rgb */ color: rgb(45, 37, 163);
/* oklch */ color: oklch(37.5% 0.191 274.8);
Tailwind
colors: {
  custom: {
    50: '#7962c0',
    500: '#2d25a3',
    950: '#000000',
  },
}
SCSS
$custom: #2d25a3;
$custom-light: #7962c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d25a3",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 243.81,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37549,
    "c": 0.19108,
    "h": 274.8
  },
  "luminance": 0.04525
}

Semantic roles & 50–950 ramp

primary
#2D25A3
secondary
#BCC262
accent
#E642DC
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2D25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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