#2C2B91#2C2B91

#2C2B91 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.5% C 0.162 H 275.2°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#2C2B91
RGBrgb(44, 43, 145)
HSLhsl(241, 54%, 37%)
HSVhsv(241, 70%, 57%)
CMYKcmyk(69.7%, 70.3%, 0%, 43.1%)
CIE-LABlab(24.66, 34.44, -55.92)
CIE-LCHlch(24.66, 65.68, 301.62°)
OKLaboklab(36.49% 0.0147 -0.1615)
OKLCHoklch(36.49% 0.162 275.2)
XYZxyz(7.0117, 4.3069, 27.2444)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B91 #90912B
analogous
#2B5D91 #2C2B91 #5F2B91
triadic
#2C2B91 #912C2B #2B912C
tetradic
#2C2B91 #912B5D #90912B #2B915F
square
#2C2B91 #912B5D #90912B #2B915F
split-complementary
#2C2B91 #915F2B #5D912B
monochromatic
#0F0F33 #1E1D62 #2C2B91 #3A39C0 #6665D1

Accessibility & contrast

On white

11.28
#2C2B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#2C2B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B91
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B91#FFFFFF#000000##FFFFFF
##2C2B911.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F94
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#00475A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c2b91;
/* rgb */ color: rgb(44, 43, 145);
/* oklch */ color: oklch(36.5% 0.162 275.2);
Tailwind
colors: {
  custom: {
    50: '#7465b2',
    500: '#2c2b91',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b91;
$custom-light: #7465b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b91",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 240.588,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36495,
    "c": 0.16222,
    "h": 275.2
  },
  "luminance": 0.04308
}

Semantic roles & 50–950 ramp

primary
#2C2B91
secondary
#B7B860
accent
#DE4ADC
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #2C2B91

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

Preview Lab → · Contrast checker → · Palette generator →

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