#2C25A9#2C25A9

#2C25A9 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 38.1% C 0.199 H 273.9°. Best body text is #FFFFFF at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#2C25A9
RGBrgb(44, 37, 169)
HSLhsl(243, 64%, 40%)
HSVhsv(243, 78%, 66%)
CMYKcmyk(74%, 78.1%, 0%, 33.7%)
CIE-LABlab(25.93, 45.98, -68.49)
CIE-LCHlch(25.93, 82.49, 303.87°)
OKLaboklab(38.14% 0.0135 -0.1981)
OKLCHoklch(38.14% 0.199 273.9)
XYZxyz(8.8593, 4.7223, 37.9730)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C25A9 #A2A925
analogous
#2560A9 #2C25A9 #6E25A9
triadic
#2C25A9 #A92C25 #25A92C
tetradic
#2C25A9 #A92560 #A2A925 #25A96E
square
#2C25A9 #A92560 #A2A925 #25A96E
split-complementary
#2C25A9 #A96E25 #60A925
monochromatic
#120F45 #1F1A77 #2C25A9 #4038D3 #706ADE

Accessibility & contrast

On white

10.80
#2C25A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2C25A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C25A9
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C25A9#FFFFFF#000000##FFFFFF
##2C25A91.0010.801.9410.80
#FFFFFF10.801.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043AD
Deuteranopia (green-blind)
#0037A7
Tritanopia (blue-blind)
#004D66
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2c25a9;
/* rgb */ color: rgb(44, 37, 169);
/* oklch */ color: oklch(38.1% 0.199 273.9);
Tailwind
colors: {
  custom: {
    50: '#7a62c4',
    500: '#2c25a9',
    950: '#000000',
  },
}
SCSS
$custom: #2c25a9;
$custom-light: #7a62c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c25a9",
  "rgb": {
    "r": 44,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 243.182,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38143,
    "c": 0.19859,
    "h": 273.9
  },
  "luminance": 0.04723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C25A9

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

Preview Lab → · Contrast checker → · Palette generator →

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