#2C2D7A#2C2D7A

#2C2D7A is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.7% C 0.128 H 276.8°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#2C2D7A
RGBrgb(44, 45, 122)
HSLhsl(239, 47%, 33%)
HSVhsv(239, 64%, 48%)
CMYKcmyk(63.9%, 63.1%, 0%, 52.2%)
CIE-LABlab(23.06, 24.91, -44.14)
CIE-LCHlch(23.06, 50.69, 299.44°)
OKLaboklab(34.68% 0.0153 -0.127)
OKLCHoklch(34.68% 0.128 276.8)
XYZxyz(5.4888, 3.8170, 18.8561)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D7A #7A792C
analogous
#2C547A #2C2D7A #522C7A
triadic
#2C2D7A #7A2C2D #2D7A2C
tetradic
#2C2D7A #7A2C54 #7A792C #2C7A52
square
#2C2D7A #7A2C54 #7A792C #2C7A52
split-complementary
#2C2D7A #7A522C #547A2C
monochromatic
#0C0C20 #1C1C4D #2C2D7A #3C3EA7 #5C5DC4

Accessibility & contrast

On white

11.91
#2C2D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2C2D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D7A
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D7A#FFFFFF#000000##FFFFFF
##2C2D7A1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2d7a;
/* rgb */ color: rgb(44, 45, 122);
/* oklch */ color: oklch(34.7% 0.128 276.8);
Tailwind
colors: {
  custom: {
    50: '#6e66a1',
    500: '#2c2d7a',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d7a;
$custom-light: #6e66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d7a",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 239.231,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34681,
    "c": 0.1279,
    "h": 276.8
  },
  "luminance": 0.03817
}

Semantic roles & 50–950 ramp

primary
#2C2D7A
secondary
#AAA957
accent
#D551D7
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C2D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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