#2C25C1#2C25C1

#2C25C1 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.8% C 0.227 H 272.0°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#2C25C1
RGBrgb(44, 37, 193)
HSLhsl(243, 68%, 45%)
HSVhsv(243, 81%, 76%)
CMYKcmyk(77.2%, 80.8%, 0%, 24.3%)
CIE-LABlab(28.66, 53.51, -78.26)
CIE-LCHlch(28.66, 94.81, 304.36°)
OKLaboklab(40.85% 0.008 -0.2265)
OKLCHoklch(40.85% 0.227 272)
XYZxyz(11.3227, 5.7076, 50.9467)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C25C1 #BAC125
analogous
#256CC1 #2C25C1 #7A25C1
triadic
#2C25C1 #C12C25 #25C12C
tetradic
#2C25C1 #C1256C #BAC125 #25C17A
square
#2C25C1 #C1256C #BAC125 #25C17A
split-complementary
#2C25C1 #C17A25 #6CC125
monochromatic
#15115A #201B8E #2C25C1 #4E47DC #807BE6

Accessibility & contrast

On white

9.80
#2C25C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2C25C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C25C1
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C25C1#FFFFFF#000000##FFFFFF
##2C25C11.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BC5
Deuteranopia (green-blind)
#003CBE
Tritanopia (blue-blind)
#005674
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c25c1;
/* rgb */ color: rgb(44, 37, 193);
/* oklch */ color: oklch(40.8% 0.227 272.0);
Tailwind
colors: {
  custom: {
    50: '#8064d5',
    500: '#2c25c1',
    950: '#000000',
  },
}
SCSS
$custom: #2c25c1;
$custom-light: #8064d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c25c1",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 193
  },
  "hsl": {
    "h": 242.692,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.40848,
    "c": 0.22663,
    "h": 272
  },
  "luminance": 0.05709
}

Semantic roles & 50–950 ramp

primary
#2C25C1
secondary
#CACE74
accent
#EB3DE3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2C25C1

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

Preview Lab → · Contrast checker → · Palette generator →

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