#2C25A4#2C25A4

#2C25A4 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.6% C 0.193 H 274.4°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2C25A4
RGBrgb(44, 37, 164)
HSLhsl(243, 63%, 39%)
HSVhsv(243, 77%, 64%)
CMYKcmyk(73.2%, 77.4%, 0%, 35.7%)
CIE-LABlab(25.38, 44.36, -66.38)
CIE-LCHlch(25.38, 79.84, 303.76°)
OKLaboklab(37.59% 0.0146 -0.192)
OKLCHoklch(37.59% 0.193 274.4)
XYZxyz(8.3989, 4.5381, 35.5481)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C25A4 #9DA425
analogous
#255EA4 #2C25A4 #6C25A4
triadic
#2C25A4 #A42C25 #25A42C
tetradic
#2C25A4 #A4255E #9DA425 #25A46C
square
#2C25A4 #A4255E #9DA425 #25A46C
split-complementary
#2C25A4 #A46C25 #5EA425
monochromatic
#110E40 #1F1A72 #2C25A4 #3D35D1 #6D67DD

Accessibility & contrast

On white

11.01
#2C25A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2C25A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C25A4
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C25A4#FFFFFF#000000##FFFFFF
##2C25A41.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A8
Deuteranopia (green-blind)
#0036A2
Tritanopia (blue-blind)
#004B63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c25a4;
/* rgb */ color: rgb(44, 37, 164);
/* oklch */ color: oklch(37.6% 0.193 274.4);
Tailwind
colors: {
  custom: {
    50: '#7962c0',
    500: '#2c25a4',
    950: '#000000',
  },
}
SCSS
$custom: #2c25a4;
$custom-light: #7962c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c25a4",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 164
  },
  "hsl": {
    "h": 243.307,
    "s": 63.184,
    "l": 39.412
  },
  "oklch": {
    "l": 0.37593,
    "c": 0.19255,
    "h": 274.4
  },
  "luminance": 0.04539
}

Semantic roles & 50–950 ramp

primary
#2C25A4
secondary
#BDC262
accent
#E642DD
background
#F8F5FC
surface
#EFEAF8
border
#CAC6D1
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2C25A4

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

Preview Lab → · Contrast checker → · Palette generator →

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