#2C2E83#2C2E83

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

Color values

HEX#2C2E83
RGBrgb(44, 46, 131)
HSLhsl(239, 50%, 34%)
HSVhsv(239, 66%, 51%)
CMYKcmyk(66.4%, 64.9%, 0%, 48.6%)
CIE-LABlab(24.09, 27.51, -48.14)
CIE-LCHlch(24.09, 55.45, 299.75°)
OKLaboklab(35.68% 0.0138 -0.1387)
OKLCHoklch(35.68% 0.139 275.7)
XYZxyz(6.1111, 4.1276, 21.9430)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E83 #83812C
analogous
#2C5A83 #2C2E83 #562C83
triadic
#2C2E83 #832C2E #2E832C
tetradic
#2C2E83 #832C5A #83812C #2C8356
square
#2C2E83 #832C5A #83812C #2C8356
split-complementary
#2C2E83 #83562C #5A832C
monochromatic
#0D0E27 #1D1E55 #2C2E83 #3B3EB1 #6062CA

Accessibility & contrast

On white

11.50
#2C2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2C2E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2E83
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E83#FFFFFF#000000##FFFFFF
##2C2E831.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003581
Tritanopia (blue-blind)
#004354
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2e83;
/* rgb */ color: rgb(44, 46, 131);
/* oklch */ color: oklch(35.7% 0.139 275.7);
Tailwind
colors: {
  custom: {
    50: '#7067a8',
    500: '#2c2e83',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e83;
$custom-light: #7067a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e83",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 238.621,
    "s": 49.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35681,
    "c": 0.13942,
    "h": 275.7
  },
  "luminance": 0.04128
}

Semantic roles & 50–950 ramp

primary
#2C2E83
secondary
#B0AE5B
accent
#D64FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2C2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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