#2C2D7C#2C2D7C

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

Color values

HEX#2C2D7C
RGBrgb(44, 45, 124)
HSLhsl(239, 48%, 33%)
HSVhsv(239, 65%, 49%)
CMYKcmyk(64.5%, 63.7%, 0%, 51.4%)
CIE-LABlab(23.23, 25.64, -45.13)
CIE-LCHlch(23.23, 51.91, 299.60°)
OKLaboklab(34.86% 0.0152 -0.1299)
OKLCHoklch(34.86% 0.131 276.7)
XYZxyz(5.6140, 3.8670, 19.5154)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D7C #7C7B2C
analogous
#2C557C #2C2D7C #532C7C
triadic
#2C2D7C #7C2C2D #2D7C2C
tetradic
#2C2D7C #7C2C55 #7C7B2C #2C7C53
square
#2C2D7C #7C2C55 #7C7B2C #2C7C53
split-complementary
#2C2D7C #7C532C #557C2C
monochromatic
#0C0C22 #1C1D4F #2C2D7C #3C3DA9 #5D5EC5

Accessibility & contrast

On white

11.84
#2C2D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2C2D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D7C
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D7C#FFFFFF#000000##FFFFFF
##2C2D7C1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2d7c;
/* rgb */ color: rgb(44, 45, 124);
/* oklch */ color: oklch(34.9% 0.131 276.7);
Tailwind
colors: {
  custom: {
    50: '#6f66a3',
    500: '#2c2d7c',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d7c;
$custom-light: #6f66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d7c",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 239.25,
    "s": 47.619,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34859,
    "c": 0.13078,
    "h": 276.7
  },
  "luminance": 0.03867
}

Semantic roles & 50–950 ramp

primary
#2C2D7C
secondary
#ACAB58
accent
#D651D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C2D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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