#2C2E9A#2C2E9A

#2C2E9A is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.9% C 0.171 H 273.9°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2C2E9A
RGBrgb(44, 46, 154)
HSLhsl(239, 56%, 39%)
HSVhsv(239, 71%, 60%)
CMYKcmyk(71.4%, 70.1%, 0%, 39.6%)
CIE-LABlab(26.22, 35.73, -58.89)
CIE-LCHlch(26.22, 68.88, 301.24°)
OKLaboklab(37.89% 0.0115 -0.1702)
OKLCHoklch(37.89% 0.171 273.9)
XYZxyz(7.8465, 4.8218, 31.0828)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E9A #9A982C
analogous
#2C659A #2C2E9A #612C9A
triadic
#2C2E9A #9A2C2E #2E9A2C
tetradic
#2C2E9A #9A2C65 #9A982C #2C9A61
square
#2C2E9A #9A2C65 #9A982C #2C9A61
split-complementary
#2C2E9A #9A612C #659A2C
monochromatic
#11123B #1E206A #2C2E9A #3C3EC7 #6C6DD5

Accessibility & contrast

On white

10.69
#2C2E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2C2E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E9A
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E9A#FFFFFF#000000##FFFFFF
##2C2E9A1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439D
Deuteranopia (green-blind)
#003998
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c2e9a;
/* rgb */ color: rgb(44, 46, 154);
/* oklch */ color: oklch(37.9% 0.171 273.9);
Tailwind
colors: {
  custom: {
    50: '#7667b9',
    500: '#2c2e9a',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e9a;
$custom-light: #7667b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e9a",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 238.909,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.37885,
    "c": 0.17062,
    "h": 273.9
  },
  "luminance": 0.04823
}

Semantic roles & 50–950 ramp

primary
#2C2E9A
secondary
#BCBA66
accent
#DC49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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