#2D25AF#2D25AF

#2D25AF is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.9% C 0.205 H 273.7°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2D25AF
RGBrgb(45, 37, 175)
HSLhsl(243, 65%, 42%)
HSVhsv(243, 79%, 69%)
CMYKcmyk(74.3%, 78.9%, 0%, 31.4%)
CIE-LABlab(26.66, 47.97, -70.88)
CIE-LCHlch(26.66, 85.59, 304.09°)
OKLaboklab(38.87% 0.0134 -0.205)
OKLCHoklch(38.87% 0.205 273.7)
XYZxyz(9.4790, 4.9752, 41.0099)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D25AF #A7AF25
analogous
#2562AF #2D25AF #7225AF
triadic
#2D25AF #AF2D25 #25AF2D
tetradic
#2D25AF #AF2562 #A7AF25 #25AF72
square
#2D25AF #AF2562 #A7AF25 #25AF72
split-complementary
#2D25AF #AF7225 #62AF25
monochromatic
#13104A #201A7C #2D25AF #443CD6 #756EE0

Accessibility & contrast

On white

10.53
#2D25AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2D25AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D25AF
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D25AF#FFFFFF#000000##FFFFFF
##2D25AF1.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d25af;
/* rgb */ color: rgb(45, 37, 175);
/* oklch */ color: oklch(38.9% 0.205 273.7);
Tailwind
colors: {
  custom: {
    50: '#7c63c8',
    500: '#2d25af',
    950: '#000000',
  },
}
SCSS
$custom: #2d25af;
$custom-light: #7c63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d25af",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 243.478,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38872,
    "c": 0.20548,
    "h": 273.7
  },
  "luminance": 0.04976
}

Semantic roles & 50–950 ramp

primary
#2D25AF
secondary
#C1C769
accent
#E840DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2D25AF

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

Preview Lab → · Contrast checker → · Palette generator →

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