#2C2DB8#2C2DB8

#2C2DB8 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.209 H 272.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2C2DB8
RGBrgb(44, 45, 184)
HSLhsl(240, 61%, 45%)
HSVhsv(240, 76%, 72%)
CMYKcmyk(76.1%, 75.5%, 0%, 27.8%)
CIE-LABlab(29.09, 46.53, -72.24)
CIE-LCHlch(29.09, 85.93, 302.79°)
OKLaboklab(40.85% 0.0072 -0.2091)
OKLCHoklch(40.85% 0.209 272)
XYZxyz(10.6259, 5.8718, 45.9115)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2DB8 #B8B72C
analogous
#2C73B8 #2C2DB8 #712CB8
triadic
#2C2DB8 #B82C2D #2DB82C
tetradic
#2C2DB8 #B82C73 #B8B72C #2CB871
square
#2C2DB8 #B82C73 #B8B72C #2CB871
split-complementary
#2C2DB8 #B8712C #73B82C
monochromatic
#141555 #202187 #2C2DB8 #4D4ED4 #7E7FE0

Accessibility & contrast

On white

9.66
#2C2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C2DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2DB8
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2DB8#FFFFFF#000000##FFFFFF
##2C2DB81.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BBC
Deuteranopia (green-blind)
#003EB6
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c2db8;
/* rgb */ color: rgb(44, 45, 184);
/* oklch */ color: oklch(40.9% 0.209 272.0);
Tailwind
colors: {
  custom: {
    50: '#7d68cf',
    500: '#2c2db8',
    950: '#000000',
  },
}
SCSS
$custom: #2c2db8;
$custom-light: #7d68cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2db8",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 239.571,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.40851,
    "c": 0.20923,
    "h": 272
  },
  "luminance": 0.05873
}

Semantic roles & 50–950 ramp

primary
#2C2DB8
secondary
#C9C877
accent
#E343E5
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0614
muted
#7C7A82

Preview Lab

Preview with #2C2DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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