#2C2C7D#2C2C7D

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

Color values

HEX#2C2C7D
RGBrgb(44, 44, 125)
HSLhsl(240, 48%, 33%)
HSVhsv(240, 65%, 49%)
CMYKcmyk(64.8%, 64.8%, 0%, 51%)
CIE-LABlab(23.06, 26.67, -46.04)
CIE-LCHlch(23.06, 53.21, 300.08°)
OKLaboklab(34.76% 0.016 -0.1326)
OKLCHoklch(34.76% 0.134 276.9)
XYZxyz(5.6399, 3.8171, 19.8376)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C7D #7D7D2C
analogous
#2C547D #2C2C7D #542C7D
triadic
#2C2C7D #7D2C2C #2C7D2C
tetradic
#2C2C7D #7D2C54 #7D7D2C #2C7D54
square
#2C2C7D #7D2C54 #7D7D2C #2C7D54
split-complementary
#2C2C7D #7D542C #547D2C
monochromatic
#0C0C22 #1C1C50 #2C2C7D #3C3CAA #5D5DC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C2C7D#FFFFFF#000000##FFFFFF
##2C2C7D1.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)
#003B80
Deuteranopia (green-blind)
#00337B
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2c7d;
/* rgb */ color: rgb(44, 44, 125);
/* oklch */ color: oklch(34.8% 0.134 276.9);
Tailwind
colors: {
  custom: {
    50: '#6f65a3',
    500: '#2c2c7d',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c7d;
$custom-light: #6f65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c7d",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 240,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34761,
    "c": 0.13355,
    "h": 276.9
  },
  "luminance": 0.03818
}

Semantic roles & 50–950 ramp

primary
#2C2C7D
secondary
#ACAC59
accent
#D850D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08050F
muted
#7B7A7F

Preview Lab

Preview with #2C2C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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