#2C25A3#2C25A3

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

Color values

HEX#2C25A3
RGBrgb(44, 37, 163)
HSLhsl(243, 63%, 39%)
HSVhsv(243, 77%, 64%)
CMYKcmyk(73%, 77.3%, 0%, 36.1%)
CIE-LABlab(25.27, 44.03, -65.95)
CIE-LCHlch(25.27, 79.30, 303.73°)
OKLaboklab(37.48% 0.0148 -0.1908)
OKLCHoklch(37.48% 0.191 274.4)
XYZxyz(8.3089, 4.5021, 35.0743)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C25A3 #9CA325
analogous
#255DA3 #2C25A3 #6B25A3
triadic
#2C25A3 #A32C25 #25A32C
tetradic
#2C25A3 #A3255D #9CA325 #25A36B
square
#2C25A3 #A3255D #9CA325 #25A36B
split-complementary
#2C25A3 #A36B25 #5DA325
monochromatic
#110E3F #1F1A71 #2C25A3 #3D34D1 #6D66DC

Accessibility & contrast

On white

11.05
#2C25A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2C25A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C25A3
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C25A3#FFFFFF#000000##FFFFFF
##2C25A31.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0042A7
Deuteranopia (green-blind)
#0036A1
Tritanopia (blue-blind)
#004A63
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c25a3;
/* rgb */ color: rgb(44, 37, 163);
/* oklch */ color: oklch(37.5% 0.191 274.4);
Tailwind
colors: {
  custom: {
    50: '#7962c0',
    500: '#2c25a3',
    950: '#000000',
  },
}
SCSS
$custom: #2c25a3;
$custom-light: #7962c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c25a3",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 163
  },
  "hsl": {
    "h": 243.333,
    "s": 63,
    "l": 39.216
  },
  "oklch": {
    "l": 0.37483,
    "c": 0.19134,
    "h": 274.4
  },
  "luminance": 0.04503
}

Semantic roles & 50–950 ramp

primary
#2C25A3
secondary
#BDC262
accent
#E642DD
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2C25A3

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

Preview Lab → · Contrast checker → · Palette generator →

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