#2C25AA#2C25AA

#2C25AA is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.3% C 0.200 H 273.8°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#2C25AA
RGBrgb(44, 37, 170)
HSLhsl(243, 64%, 41%)
HSVhsv(243, 78%, 67%)
CMYKcmyk(74.1%, 78.2%, 0%, 33.3%)
CIE-LABlab(26.04, 46.30, -68.91)
CIE-LCHlch(26.04, 83.02, 303.90°)
OKLaboklab(38.25% 0.0133 -0.1993)
OKLCHoklch(38.25% 0.2 273.8)
XYZxyz(8.9536, 4.7600, 38.4693)
Luminance0.0476 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C25AA #A3AA25
analogous
#2560AA #2C25AA #6E25AA
triadic
#2C25AA #AA2C25 #25AA2C
tetradic
#2C25AA #AA2560 #A3AA25 #25AA6E
square
#2C25AA #AA2560 #A3AA25 #25AA6E
split-complementary
#2C25AA #AA6E25 #60AA25
monochromatic
#120F45 #1F1A78 #2C25AA #4138D4 #716BDF

Accessibility & contrast

On white

10.76
#2C25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2C25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C25AA
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C25AA#FFFFFF#000000##FFFFFF
##2C25AA1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#0037A8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c25aa;
/* rgb */ color: rgb(44, 37, 170);
/* oklch */ color: oklch(38.3% 0.200 273.8);
Tailwind
colors: {
  custom: {
    50: '#7a62c5',
    500: '#2c25aa',
    950: '#000000',
  },
}
SCSS
$custom: #2c25aa;
$custom-light: #7a62c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c25aa",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 243.158,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38254,
    "c": 0.19978,
    "h": 273.8
  },
  "luminance": 0.04761
}

Semantic roles & 50–950 ramp

primary
#2C25AA
secondary
#C0C566
accent
#E741DE
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2C25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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