#2D25A1#2D25A1

#2D25A1 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.3% C 0.189 H 275.0°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#2D25A1
RGBrgb(45, 37, 161)
HSLhsl(244, 63%, 39%)
HSVhsv(244, 77%, 63%)
CMYKcmyk(72%, 77%, 0%, 36.9%)
CIE-LABlab(25.12, 43.48, -64.98)
CIE-LCHlch(25.12, 78.18, 303.79°)
OKLaboklab(37.33% 0.0166 -0.1879)
OKLCHoklch(37.33% 0.189 275)
XYZxyz(8.1747, 4.4534, 34.1401)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D25A1 #99A125
analogous
#255BA1 #2D25A1 #6B25A1
triadic
#2D25A1 #A12D25 #25A12D
tetradic
#2D25A1 #A1255B #99A125 #25A16B
square
#2D25A1 #A1255B #99A125 #25A16B
split-complementary
#2D25A1 #A16B25 #5BA125
monochromatic
#110E3D #1F1A6F #2D25A1 #3D33D0 #6C65DC

Accessibility & contrast

On white

11.11
#2D25A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2D25A1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D25A1
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D25A1#FFFFFF#000000##FFFFFF
##2D25A11.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A5
Deuteranopia (green-blind)
#00369F
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d25a1;
/* rgb */ color: rgb(45, 37, 161);
/* oklch */ color: oklch(37.3% 0.189 275.0);
Tailwind
colors: {
  custom: {
    50: '#7862be',
    500: '#2d25a1',
    950: '#000000',
  },
}
SCSS
$custom: #2d25a1;
$custom-light: #7862be;
$custom-dark: #000000;
JSON
{
  "hex": "#2d25a1",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 161
  },
  "hsl": {
    "h": 243.871,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37332,
    "c": 0.18864,
    "h": 275
  },
  "luminance": 0.04454
}

Semantic roles & 50–950 ramp

primary
#2D25A1
secondary
#BBC161
accent
#E642DB
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2D25A1

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

Preview Lab → · Contrast checker → · Palette generator →

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