#2C25A2#2C25A2

#2C25A2 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.4% C 0.190 H 274.5°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2C25A2
RGBrgb(44, 37, 162)
HSLhsl(243, 63%, 39%)
HSVhsv(243, 77%, 64%)
CMYKcmyk(72.8%, 77.2%, 0%, 36.5%)
CIE-LABlab(25.16, 43.71, -65.53)
CIE-LCHlch(25.16, 78.77, 303.71°)
OKLaboklab(37.37% 0.0151 -0.1895)
OKLCHoklch(37.37% 0.19 274.5)
XYZxyz(8.2197, 4.4664, 34.6043)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C25A2 #9BA225
analogous
#255DA2 #2C25A2 #6B25A2
triadic
#2C25A2 #A22C25 #25A22C
tetradic
#2C25A2 #A2255D #9BA225 #25A26B
square
#2C25A2 #A2255D #9BA225 #25A26B
split-complementary
#2C25A2 #A26B25 #5DA225
monochromatic
#110E3E #1E1A70 #2C25A2 #3C34D1 #6C65DC

Accessibility & contrast

On white

11.09
#2C25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C25A2
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C25A2#FFFFFF#000000##FFFFFF
##2C25A21.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0036A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c25a2;
/* rgb */ color: rgb(44, 37, 162);
/* oklch */ color: oklch(37.4% 0.190 274.5);
Tailwind
colors: {
  custom: {
    50: '#7862bf',
    500: '#2c25a2',
    950: '#000000',
  },
}
SCSS
$custom: #2c25a2;
$custom-light: #7862bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c25a2",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 243.36,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37374,
    "c": 0.19011,
    "h": 274.5
  },
  "luminance": 0.04467
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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