#2C2DBB#2C2DBB

#2C2DBB is a dark, highly saturated blue. Relative luminance 0.060; OKLCH L 41.2% C 0.213 H 271.8°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2C2DBB
RGBrgb(44, 45, 187)
HSLhsl(240, 62%, 45%)
HSVhsv(240, 76%, 73%)
CMYKcmyk(76.5%, 75.9%, 0%, 26.7%)
CIE-LABlab(29.41, 47.51, -73.48)
CIE-LCHlch(29.41, 87.51, 302.89°)
OKLaboklab(41.18% 0.0066 -0.2127)
OKLCHoklch(41.18% 0.213 271.8)
XYZxyz(10.9437, 5.9989, 47.5852)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DBB #BBBA2C
analogous
#2C75BB #2C2DBB #722CBB
triadic
#2C2DBB #BB2C2D #2DBB2C
tetradic
#2C2DBB #BB2C75 #BBBA2C #2CBB72
square
#2C2DBB #BB2C75 #BBBA2C #2CBB72
split-complementary
#2C2DBB #BB722C #75BB2C
monochromatic
#151558 #202189 #2C2DBB #4F50D6 #8081E1

Accessibility & contrast

On white

9.55
#2C2DBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C2DBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2DBB
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DBB#FFFFFF#000000##FFFFFF
##2C2DBB1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CBF
Deuteranopia (green-blind)
#003EB9
Tritanopia (blue-blind)
#005772
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c2dbb;
/* rgb */ color: rgb(44, 45, 187);
/* oklch */ color: oklch(41.2% 0.213 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e68d1',
    500: '#2c2dbb',
    950: '#000000',
  },
}
SCSS
$custom: #2c2dbb;
$custom-light: #7e68d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2dbb",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 187
  },
  "hsl": {
    "h": 239.58,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.41175,
    "c": 0.21283,
    "h": 271.8
  },
  "luminance": 0.06
}

Semantic roles & 50–950 ramp

primary
#2C2DBB
secondary
#CAC979
accent
#E443E5
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2C2DBB

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

Preview Lab → · Contrast checker → · Palette generator →

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