#2C2E7D#2C2E7D

#2C2E7D is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.1% C 0.131 H 276.2°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#2C2E7D
RGBrgb(44, 46, 125)
HSLhsl(239, 48%, 33%)
HSVhsv(239, 65%, 49%)
CMYKcmyk(64.8%, 63.2%, 0%, 51%)
CIE-LABlab(23.57, 25.33, -45.20)
CIE-LCHlch(23.57, 51.82, 299.27°)
OKLaboklab(35.14% 0.0142 -0.1301)
OKLCHoklch(35.14% 0.131 276.2)
XYZxyz(5.7162, 3.9697, 19.8631)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E7D #7D7B2C
analogous
#2C567D #2C2E7D #532C7D
triadic
#2C2E7D #7D2C2E #2E7D2C
tetradic
#2C2E7D #7D2C56 #7D7B2C #2C7D53
square
#2C2E7D #7D2C56 #7D7B2C #2C7D53
split-complementary
#2C2E7D #7D532C #567D2C
monochromatic
#0C0D22 #1C1D50 #2C2E7D #3C3FAA #5D60C6

Accessibility & contrast

On white

11.71
#2C2E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2C2E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E7D
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E7D#FFFFFF#000000##FFFFFF
##2C2E7D1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004251
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2e7d;
/* rgb */ color: rgb(44, 46, 125);
/* oklch */ color: oklch(35.1% 0.131 276.2);
Tailwind
colors: {
  custom: {
    50: '#6f67a3',
    500: '#2c2e7d',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e7d;
$custom-light: #6f67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e7d",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 238.519,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35139,
    "c": 0.13088,
    "h": 276.2
  },
  "luminance": 0.0397
}

Semantic roles & 50–950 ramp

primary
#2C2E7D
secondary
#ACAA59
accent
#D450D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C2E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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