#2D25B1#2D25B1

#2D25B1 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.1% C 0.208 H 273.6°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#2D25B1
RGBrgb(45, 37, 177)
HSLhsl(243, 65%, 42%)
HSVhsv(243, 79%, 69%)
CMYKcmyk(74.6%, 79.1%, 0%, 30.6%)
CIE-LABlab(26.89, 48.61, -71.70)
CIE-LCHlch(26.89, 86.62, 304.13°)
OKLaboklab(39.1% 0.0129 -0.2074)
OKLCHoklch(39.1% 0.208 273.6)
XYZxyz(9.6769, 5.0544, 42.0520)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D25B1 #A9B125
analogous
#2563B1 #2D25B1 #7325B1
triadic
#2D25B1 #B12D25 #25B12D
tetradic
#2D25B1 #B12563 #A9B125 #25B173
square
#2D25B1 #B12563 #A9B125 #25B173
split-complementary
#2D25B1 #B17325 #63B125
monochromatic
#13104C #201A7E #2D25B1 #463DD6 #766FE1

Accessibility & contrast

On white

10.44
#2D25B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2D25B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D25B1
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D25B1#FFFFFF#000000##FFFFFF
##2D25B11.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#0039AF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2d25b1;
/* rgb */ color: rgb(45, 37, 177);
/* oklch */ color: oklch(39.1% 0.208 273.6);
Tailwind
colors: {
  custom: {
    50: '#7c63ca',
    500: '#2d25b1',
    950: '#000000',
  },
}
SCSS
$custom: #2d25b1;
$custom-light: #7c63ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d25b1",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 243.429,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39096,
    "c": 0.20784,
    "h": 273.6
  },
  "luminance": 0.05055
}

Semantic roles & 50–950 ramp

primary
#2D25B1
secondary
#C2C86A
accent
#E83FDF
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2D25B1

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

Preview Lab → · Contrast checker → · Palette generator →

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