#2C2B85#2C2B85

#2C2B85 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.146 H 276.4°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#2C2B85
RGBrgb(44, 43, 133)
HSLhsl(241, 51%, 35%)
HSVhsv(241, 68%, 52%)
CMYKcmyk(66.9%, 67.7%, 0%, 47.8%)
CIE-LABlab(23.53, 30.19, -50.31)
CIE-LCHlch(23.53, 58.68, 300.97°)
OKLaboklab(35.33% 0.0162 -0.1451)
OKLCHoklch(35.33% 0.146 276.4)
XYZxyz(6.1348, 3.9562, 22.6261)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B85 #84852B
analogous
#2B5785 #2C2B85 #592B85
triadic
#2C2B85 #852C2B #2B852C
tetradic
#2C2B85 #852B57 #84852B #2B8559
square
#2C2B85 #852B57 #84852B #2B8559
split-complementary
#2C2B85 #85592B #57852B
monochromatic
#0D0D29 #1D1C57 #2C2B85 #3B3AB3 #605FCB

Accessibility & contrast

On white

11.72
#2C2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2C2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B85
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B85#FFFFFF#000000##FFFFFF
##2C2B851.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#004254
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c2b85;
/* rgb */ color: rgb(44, 43, 133);
/* oklch */ color: oklch(35.3% 0.146 276.4);
Tailwind
colors: {
  custom: {
    50: '#7165a9',
    500: '#2c2b85',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b85;
$custom-light: #7165a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b85",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 240.667,
    "s": 51.136,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35325,
    "c": 0.14603,
    "h": 276.4
  },
  "luminance": 0.03957
}

Semantic roles & 50–950 ramp

primary
#2C2B85
secondary
#B0B15B
accent
#DB4DD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090510
muted
#7B7A7F

Preview Lab

Preview with #2C2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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