#2C2D85#2C2D85

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

Color values

HEX#2C2D85
RGBrgb(44, 45, 133)
HSLhsl(239, 50%, 35%)
HSVhsv(239, 67%, 52%)
CMYKcmyk(66.9%, 66.2%, 0%, 47.8%)
CIE-LABlab(24.02, 28.89, -49.51)
CIE-LCHlch(24.02, 57.32, 300.26°)
OKLaboklab(35.68% 0.0146 -0.1428)
OKLCHoklch(35.68% 0.144 275.8)
XYZxyz(6.2093, 4.1052, 22.6509)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D85 #85842C
analogous
#2C5A85 #2C2D85 #582C85
triadic
#2C2D85 #852C2D #2D852C
tetradic
#2C2D85 #852C5A #85842C #2C8558
square
#2C2D85 #852C5A #85842C #2C8558
split-complementary
#2C2D85 #85582C #5A852C
monochromatic
#0E0E29 #1D1D57 #2C2D85 #3B3DB3 #6162CB

Accessibility & contrast

On white

11.53
#2C2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2C2D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D85
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D85#FFFFFF#000000##FFFFFF
##2C2D851.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D88
Deuteranopia (green-blind)
#003583
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2d85;
/* rgb */ color: rgb(44, 45, 133);
/* oklch */ color: oklch(35.7% 0.144 275.8);
Tailwind
colors: {
  custom: {
    50: '#7166a9',
    500: '#2c2d85',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d85;
$custom-light: #7166a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d85",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 239.326,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35683,
    "c": 0.14351,
    "h": 275.8
  },
  "luminance": 0.04106
}

Semantic roles & 50–950 ramp

primary
#2C2D85
secondary
#B1B05C
accent
#D84EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2C2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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