#2C2D7D#2C2D7D

#2C2D7D is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.9% C 0.132 H 276.6°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#2C2D7D
RGBrgb(44, 45, 125)
HSLhsl(239, 48%, 33%)
HSVhsv(239, 65%, 49%)
CMYKcmyk(64.8%, 64%, 0%, 51%)
CIE-LABlab(23.31, 26.00, -45.62)
CIE-LCHlch(23.31, 52.51, 299.68°)
OKLaboklab(34.95% 0.0151 -0.1313)
OKLCHoklch(34.95% 0.132 276.6)
XYZxyz(5.6776, 3.8925, 19.8502)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D7D #7D7C2C
analogous
#2C557D #2C2D7D #532C7D
triadic
#2C2D7D #7D2C2D #2D7D2C
tetradic
#2C2D7D #7D2C55 #7D7C2C #2C7D53
square
#2C2D7D #7D2C55 #7D7C2C #2C7D53
split-complementary
#2C2D7D #7D532C #557D2C
monochromatic
#0C0C22 #1C1D50 #2C2D7D #3C3DAA #5D5FC6

Accessibility & contrast

On white

11.81
#2C2D7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2C2D7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D7D
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D7D#FFFFFF#000000##FFFFFF
##2C2D7D1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B80
Deuteranopia (green-blind)
#00347B
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2d7d;
/* rgb */ color: rgb(44, 45, 125);
/* oklch */ color: oklch(34.9% 0.132 276.6);
Tailwind
colors: {
  custom: {
    50: '#6f66a3',
    500: '#2c2d7d',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d7d;
$custom-light: #6f66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d7d",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 125
  },
  "hsl": {
    "h": 239.259,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34949,
    "c": 0.13222,
    "h": 276.6
  },
  "luminance": 0.03893
}

Semantic roles & 50–950 ramp

primary
#2C2D7D
secondary
#ACAB59
accent
#D650D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C2D7D

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

Preview Lab → · Contrast checker → · Palette generator →

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