#2C2D7E#2C2D7E

#2C2D7E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.0% C 0.134 H 276.5°. Best body text is #FFFFFF at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#2C2D7E
RGBrgb(44, 45, 126)
HSLhsl(239, 48%, 33%)
HSVhsv(239, 65%, 49%)
CMYKcmyk(65.1%, 64.3%, 0%, 50.6%)
CIE-LABlab(23.40, 26.37, -46.12)
CIE-LCHlch(23.40, 53.12, 299.76°)
OKLaboklab(35.04% 0.0151 -0.1328)
OKLCHoklch(35.04% 0.134 276.5)
XYZxyz(5.7418, 3.9181, 20.1883)
Luminance0.0392 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D7E #7E7D2C
analogous
#2C567E #2C2D7E #542C7E
triadic
#2C2D7E #7E2C2D #2D7E2C
tetradic
#2C2D7E #7E2C56 #7E7D2C #2C7E54
square
#2C2D7E #7E2C56 #7E7D2C #2C7E54
split-complementary
#2C2D7E #7E542C #567E2C
monochromatic
#0C0D23 #1C1D51 #2C2D7E #3C3DAB #5E5FC7

Accessibility & contrast

On white

11.77
#2C2D7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2D7E
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D7E#FFFFFF#000000##FFFFFF
##2C2D7E1.0011.771.7811.77
#FFFFFF11.771.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B81
Deuteranopia (green-blind)
#00347C
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2d7e;
/* rgb */ color: rgb(44, 45, 126);
/* oklch */ color: oklch(35.0% 0.134 276.5);
Tailwind
colors: {
  custom: {
    50: '#6f66a4',
    500: '#2c2d7e',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d7e;
$custom-light: #6f66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d7e",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 239.268,
    "s": 48.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35039,
    "c": 0.13365,
    "h": 276.5
  },
  "luminance": 0.03919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C2D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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