#2D25A9#2D25A9

#2D25A9 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.2% C 0.198 H 274.3°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#2D25A9
RGBrgb(45, 37, 169)
HSLhsl(244, 64%, 40%)
HSVhsv(244, 78%, 66%)
CMYKcmyk(73.4%, 78.1%, 0%, 33.7%)
CIE-LABlab(25.99, 46.06, -68.38)
CIE-LCHlch(25.99, 82.44, 303.97°)
OKLaboklab(38.21% 0.0148 -0.1978)
OKLCHoklch(38.21% 0.198 274.3)
XYZxyz(8.9028, 4.7447, 37.9751)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D25A9 #A1A925
analogous
#255FA9 #2D25A9 #6F25A9
triadic
#2D25A9 #A92D25 #25A92D
tetradic
#2D25A9 #A9255F #A1A925 #25A96F
square
#2D25A9 #A9255F #A1A925 #25A96F
split-complementary
#2D25A9 #A96F25 #5FA925
monochromatic
#120F45 #201A77 #2D25A9 #4138D3 #716ADE

Accessibility & contrast

On white

10.77
#2D25A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2D25A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D25A9
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D25A9#FFFFFF#000000##FFFFFF
##2D25A91.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2d25a9;
/* rgb */ color: rgb(45, 37, 169);
/* oklch */ color: oklch(38.2% 0.198 274.3);
Tailwind
colors: {
  custom: {
    50: '#7a62c4',
    500: '#2d25a9',
    950: '#000000',
  },
}
SCSS
$custom: #2d25a9;
$custom-light: #7a62c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d25a9",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 243.636,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38207,
    "c": 0.19833,
    "h": 274.3
  },
  "luminance": 0.04746
}

Semantic roles & 50–950 ramp

primary
#2D25A9
secondary
#BFC465
accent
#E741DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2D25A9

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

Preview Lab → · Contrast checker → · Palette generator →

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