#2C2DB5#2C2DB5

#2C2DB5 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.206 H 272.1°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2C2DB5
RGBrgb(44, 45, 181)
HSLhsl(240, 61%, 44%)
HSVhsv(240, 76%, 71%)
CMYKcmyk(75.7%, 75.1%, 0%, 29%)
CIE-LABlab(28.77, 45.54, -70.99)
CIE-LCHlch(28.77, 84.34, 302.68°)
OKLaboklab(40.53% 0.0077 -0.2055)
OKLCHoklch(40.53% 0.206 272.1)
XYZxyz(10.3148, 5.7473, 44.2728)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DB5 #B5B42C
analogous
#2C72B5 #2C2DB5 #702CB5
triadic
#2C2DB5 #B52C2D #2DB52C
tetradic
#2C2DB5 #B52C72 #B5B42C #2CB570
square
#2C2DB5 #B52C72 #B5B42C #2CB570
split-complementary
#2C2DB5 #B5702C #72B52C
monochromatic
#141553 #202184 #2C2DB5 #4B4CD3 #7C7DDF

Accessibility & contrast

On white

9.77
#2C2DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2C2DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2DB5
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DB5#FFFFFF#000000##FFFFFF
##2C2DB51.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB9
Deuteranopia (green-blind)
#003DB3
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c2db5;
/* rgb */ color: rgb(44, 45, 181);
/* oklch */ color: oklch(40.5% 0.206 272.1);
Tailwind
colors: {
  custom: {
    50: '#7c68cc',
    500: '#2c2db5',
    950: '#000000',
  },
}
SCSS
$custom: #2c2db5;
$custom-light: #7c68cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2db5",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 239.562,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.40529,
    "c": 0.20561,
    "h": 272.1
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#2C2DB5
secondary
#C8C775
accent
#E344E4
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C2DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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