#2C2E9C#2C2E9C

#2C2E9C is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.173 H 273.7°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#2C2E9C
RGBrgb(44, 46, 156)
HSLhsl(239, 56%, 39%)
HSVhsv(239, 72%, 61%)
CMYKcmyk(71.8%, 70.5%, 0%, 38.8%)
CIE-LABlab(26.42, 36.43, -59.80)
CIE-LCHlch(26.42, 70.02, 301.35°)
OKLaboklab(38.09% 0.0112 -0.1729)
OKLCHoklch(38.09% 0.173 273.7)
XYZxyz(8.0145, 4.8890, 31.9673)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E9C #9C9A2C
analogous
#2C669C #2C2E9C #622C9C
triadic
#2C2E9C #9C2C2E #2E9C2C
tetradic
#2C2E9C #9C2C66 #9C9A2C #2C9C62
square
#2C2E9C #9C2C66 #9C9A2C #2C9C62
split-complementary
#2C2E9C #9C622C #669C2C
monochromatic
#11123D #1F206C #2C2E9C #3D3FC8 #6D6FD6

Accessibility & contrast

On white

10.62
#2C2E9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2C2E9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E9C
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E9C#FFFFFF#000000##FFFFFF
##2C2E9C1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c2e9c;
/* rgb */ color: rgb(44, 46, 156);
/* oklch */ color: oklch(38.1% 0.173 273.7);
Tailwind
colors: {
  custom: {
    50: '#7667ba',
    500: '#2c2e9c',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e9c;
$custom-light: #7667ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e9c",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 156
  },
  "hsl": {
    "h": 238.929,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.38085,
    "c": 0.17322,
    "h": 273.7
  },
  "luminance": 0.0489
}

Semantic roles & 50–950 ramp

primary
#2C2E9C
secondary
#BDBB67
accent
#DD49DF
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #2C2E9C

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

Preview Lab → · Contrast checker → · Palette generator →

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