#2C2E85#2C2E85

#2C2E85 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.142 H 275.5°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#2C2E85
RGBrgb(44, 46, 133)
HSLhsl(239, 50%, 35%)
HSVhsv(239, 67%, 52%)
CMYKcmyk(66.9%, 65.4%, 0%, 47.8%)
CIE-LABlab(24.27, 28.23, -49.10)
CIE-LCHlch(24.27, 56.64, 299.90°)
OKLaboklab(35.87% 0.0137 -0.1416)
OKLCHoklch(35.87% 0.142 275.5)
XYZxyz(6.2479, 4.1824, 22.6638)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E85 #85832C
analogous
#2C5A85 #2C2E85 #572C85
triadic
#2C2E85 #852C2E #2E852C
tetradic
#2C2E85 #852C5A #85832C #2C8557
square
#2C2E85 #852C5A #85832C #2C8557
split-complementary
#2C2E85 #85572C #5A852C
monochromatic
#0E0E29 #1D1E57 #2C2E85 #3B3EB3 #6163CB

Accessibility & contrast

On white

11.43
#2C2E85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2C2E85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E85
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E85#FFFFFF#000000##FFFFFF
##2C2E851.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004455
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c2e85;
/* rgb */ color: rgb(44, 46, 133);
/* oklch */ color: oklch(35.9% 0.142 275.5);
Tailwind
colors: {
  custom: {
    50: '#7167a9',
    500: '#2c2e85',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e85;
$custom-light: #7167a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e85",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 238.652,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35865,
    "c": 0.14222,
    "h": 275.5
  },
  "luminance": 0.04183
}

Semantic roles & 50–950 ramp

primary
#2C2E85
secondary
#B1AF5C
accent
#D74EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2C2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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