#2C2B89#2C2B89

#2C2B89 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.151 H 276.0°. Best body text is #FFFFFF at 11.58:1 contrast (WCAG AA passes).

Color values

HEX#2C2B89
RGBrgb(44, 43, 137)
HSLhsl(241, 52%, 35%)
HSVhsv(241, 69%, 54%)
CMYKcmyk(67.9%, 68.6%, 0%, 46.3%)
CIE-LABlab(23.90, 31.62, -52.21)
CIE-LCHlch(23.90, 61.03, 301.20°)
OKLaboklab(35.71% 0.0158 -0.1507)
OKLCHoklch(35.71% 0.151 276)
XYZxyz(6.4165, 4.0688, 24.1093)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B89 #88892B
analogous
#2B5989 #2C2B89 #5B2B89
triadic
#2C2B89 #892C2B #2B892C
tetradic
#2C2B89 #892B59 #88892B #2B895B
square
#2C2B89 #892B59 #88892B #2B895B
split-complementary
#2C2B89 #895B2B #59892B
monochromatic
#0E0E2C #1D1C5A #2C2B89 #3B3AB8 #6261CD

Accessibility & contrast

On white

11.58
#2C2B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2C2B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B89
11.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B89#FFFFFF#000000##FFFFFF
##2C2B891.0011.581.8111.58
#FFFFFF11.581.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2b89;
/* rgb */ color: rgb(44, 43, 137);
/* oklch */ color: oklch(35.7% 0.151 276.0);
Tailwind
colors: {
  custom: {
    50: '#7265ac',
    500: '#2c2b89',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b89;
$custom-light: #7265ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b89",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 240.638,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35709,
    "c": 0.15149,
    "h": 276
  },
  "luminance": 0.04069
}

Semantic roles & 50–950 ramp

primary
#2C2B89
secondary
#B3B35C
accent
#DC4CDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2C2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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