#2C2E91#2C2E91

#2C2E91 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.0% C 0.159 H 274.6°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#2C2E91
RGBrgb(44, 46, 145)
HSLhsl(239, 53%, 37%)
HSVhsv(239, 70%, 57%)
CMYKcmyk(69.7%, 68.3%, 0%, 43.1%)
CIE-LABlab(25.36, 32.54, -54.77)
CIE-LCHlch(25.36, 63.71, 300.71°)
OKLaboklab(37% 0.0126 -0.1582)
OKLCHoklch(37% 0.159 274.6)
XYZxyz(7.1248, 4.5331, 27.2821)
Luminance0.0453 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E91 #918F2C
analogous
#2C6191 #2C2E91 #5D2C91
triadic
#2C2E91 #912C2E #2E912C
tetradic
#2C2E91 #912C61 #918F2C #2C915D
square
#2C2E91 #912C61 #918F2C #2C915D
split-complementary
#2C2E91 #915D2C #61912C
monochromatic
#101033 #1E1F62 #2C2E91 #3A3DC0 #6769D1

Accessibility & contrast

On white

11.01
#2C2E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2C2E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E91
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E91#FFFFFF#000000##FFFFFF
##2C2E911.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004194
Deuteranopia (green-blind)
#00378F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c2e91;
/* rgb */ color: rgb(44, 46, 145);
/* oklch */ color: oklch(37.0% 0.159 274.6);
Tailwind
colors: {
  custom: {
    50: '#7367b2',
    500: '#2c2e91',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e91;
$custom-light: #7367b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e91",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 238.812,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37001,
    "c": 0.15868,
    "h": 274.6
  },
  "luminance": 0.04534
}

Semantic roles & 50–950 ramp

primary
#2C2E91
secondary
#B7B662
accent
#DA4BDD
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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