#2C2D9A#2C2D9A

#2C2D9A is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.7% C 0.172 H 274.0°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#2C2D9A
RGBrgb(44, 45, 154)
HSLhsl(239, 56%, 39%)
HSVhsv(239, 71%, 60%)
CMYKcmyk(71.4%, 70.8%, 0%, 39.6%)
CIE-LABlab(25.99, 36.34, -59.27)
CIE-LCHlch(25.99, 69.52, 301.52°)
OKLaboklab(37.72% 0.0121 -0.1713)
OKLCHoklch(37.72% 0.172 274)
XYZxyz(7.8079, 4.7446, 31.0699)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D9A #9A992C
analogous
#2C649A #2C2D9A #622C9A
triadic
#2C2D9A #9A2C2D #2D9A2C
tetradic
#2C2D9A #9A2C64 #9A992C #2C9A62
square
#2C2D9A #9A2C64 #9A992C #2C9A62
split-complementary
#2C2D9A #9A622C #649A2C
monochromatic
#11113B #1E1F6A #2C2D9A #3C3DC7 #6C6CD5

Accessibility & contrast

On white

10.77
#2C2D9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#2C2D9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D9A
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D9A#FFFFFF#000000##FFFFFF
##2C2D9A1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c2d9a;
/* rgb */ color: rgb(44, 45, 154);
/* oklch */ color: oklch(37.7% 0.172 274.0);
Tailwind
colors: {
  custom: {
    50: '#7667b9',
    500: '#2c2d9a',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d9a;
$custom-light: #7667b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d9a",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 154
  },
  "hsl": {
    "h": 239.455,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37721,
    "c": 0.17175,
    "h": 274
  },
  "luminance": 0.04745
}

Semantic roles & 50–950 ramp

primary
#2C2D9A
secondary
#BCBB66
accent
#DE49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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