#2C25A1#2C25A1

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

Color values

HEX#2C25A1
RGBrgb(44, 37, 161)
HSLhsl(243, 63%, 39%)
HSVhsv(243, 77%, 63%)
CMYKcmyk(72.7%, 77%, 0%, 36.9%)
CIE-LABlab(25.05, 43.38, -65.10)
CIE-LCHlch(25.05, 78.23, 303.68°)
OKLaboklab(37.27% 0.0153 -0.1883)
OKLCHoklch(37.27% 0.189 274.6)
XYZxyz(8.1312, 4.4310, 34.1381)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C25A1 #9AA125
analogous
#255CA1 #2C25A1 #6A25A1
triadic
#2C25A1 #A12C25 #25A12C
tetradic
#2C25A1 #A1255C #9AA125 #25A16A
square
#2C25A1 #A1255C #9AA125 #25A16A
split-complementary
#2C25A1 #A16A25 #5CA125
monochromatic
#110E3D #1E1A6F #2C25A1 #3C33D0 #6C65DC

Accessibility & contrast

On white

11.13
#2C25A1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C25A1
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C25A1#FFFFFF#000000##FFFFFF
##2C25A11.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c25a1;
/* rgb */ color: rgb(44, 37, 161);
/* oklch */ color: oklch(37.3% 0.189 274.6);
Tailwind
colors: {
  custom: {
    50: '#7862be',
    500: '#2c25a1',
    950: '#000000',
  },
}
SCSS
$custom: #2c25a1;
$custom-light: #7862be;
$custom-dark: #000000;
JSON
{
  "hex": "#2c25a1",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 161
  },
  "hsl": {
    "h": 243.387,
    "s": 62.626,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37265,
    "c": 0.18889,
    "h": 274.6
  },
  "luminance": 0.04432
}

Semantic roles & 50–950 ramp

primary
#2C25A1
secondary
#BCC161
accent
#E642DC
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C25A1

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

Preview Lab → · Contrast checker → · Palette generator →

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