#2C2DA9#2C2DA9

#2C2DA9 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.191 H 272.9°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2C2DA9
RGBrgb(44, 45, 169)
HSLhsl(240, 59%, 42%)
HSVhsv(240, 74%, 66%)
CMYKcmyk(74%, 73.4%, 0%, 33.7%)
CIE-LABlab(27.51, 41.51, -65.88)
CIE-LCHlch(27.51, 77.87, 302.21°)
OKLaboklab(39.26% 0.0098 -0.1906)
OKLCHoklch(39.26% 0.191 272.9)
XYZxyz(9.1361, 5.2759, 38.0653)
Luminance0.0528 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DA9 #A9A82C
analogous
#2C6CA9 #2C2DA9 #6A2CA9
triadic
#2C2DA9 #A92C2D #2DA92C
tetradic
#2C2DA9 #A92C6C #A9A82C #2CA96A
square
#2C2DA9 #A92C6C #A9A82C #2CA96A
split-complementary
#2C2DA9 #A96A2C #6CA92C
monochromatic
#131348 #1F2078 #2C2DA9 #4445CE #7475DB

Accessibility & contrast

On white

10.22
#2C2DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2C2DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2DA9
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DA9#FFFFFF#000000##FFFFFF
##2C2DA91.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AD
Deuteranopia (green-blind)
#003BA7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c2da9;
/* rgb */ color: rgb(44, 45, 169);
/* oklch */ color: oklch(39.3% 0.191 272.9);
Tailwind
colors: {
  custom: {
    50: '#7967c4',
    500: '#2c2da9',
    950: '#000000',
  },
}
SCSS
$custom: #2c2da9;
$custom-light: #7967c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2da9",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 239.52,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.3926,
    "c": 0.19086,
    "h": 272.9
  },
  "luminance": 0.05277
}

Semantic roles & 50–950 ramp

primary
#2C2DA9
secondary
#C3C26E
accent
#E146E2
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2C2DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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