#2D25AE#2D25AE

#2D25AE is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.8% C 0.204 H 273.8°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2D25AE
RGBrgb(45, 37, 174)
HSLhsl(244, 65%, 41%)
HSVhsv(244, 79%, 68%)
CMYKcmyk(74.1%, 78.7%, 0%, 31.8%)
CIE-LABlab(26.55, 47.66, -70.46)
CIE-LCHlch(26.55, 85.06, 304.07°)
OKLaboklab(38.76% 0.0136 -0.2038)
OKLCHoklch(38.76% 0.204 273.8)
XYZxyz(9.3812, 4.9361, 40.4945)
Luminance0.0494 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D25AE #A6AE25
analogous
#2562AE #2D25AE #7225AE
triadic
#2D25AE #AE2D25 #25AE2D
tetradic
#2D25AE #AE2562 #A6AE25 #25AE72
square
#2D25AE #AE2562 #A6AE25 #25AE72
split-complementary
#2D25AE #AE7225 #62AE25
monochromatic
#131049 #201A7C #2D25AE #443BD5 #746DE0

Accessibility & contrast

On white

10.57
#2D25AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2D25AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D25AE
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D25AE#FFFFFF#000000##FFFFFF
##2D25AE1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#0038AC
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2d25ae;
/* rgb */ color: rgb(45, 37, 174);
/* oklch */ color: oklch(38.8% 0.204 273.8);
Tailwind
colors: {
  custom: {
    50: '#7b63c8',
    500: '#2d25ae',
    950: '#000000',
  },
}
SCSS
$custom: #2d25ae;
$custom-light: #7b63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d25ae",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 243.504,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38761,
    "c": 0.20429,
    "h": 273.8
  },
  "luminance": 0.04937
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D25AE

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

Preview Lab → · Contrast checker → · Palette generator →

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