#2C2E81#2C2E81

#2C2E81 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.5% C 0.137 H 275.9°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#2C2E81
RGBrgb(44, 46, 129)
HSLhsl(239, 49%, 34%)
HSVhsv(239, 66%, 51%)
CMYKcmyk(65.9%, 64.3%, 0%, 49.4%)
CIE-LABlab(23.91, 26.79, -47.17)
CIE-LCHlch(23.91, 54.24, 299.59°)
OKLaboklab(35.5% 0.014 -0.1359)
OKLCHoklch(35.5% 0.137 275.9)
XYZxyz(5.9769, 4.0739, 21.2360)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2E81 #817F2C
analogous
#2C5981 #2C2E81 #552C81
triadic
#2C2E81 #812C2E #2E812C
tetradic
#2C2E81 #812C59 #817F2C #2C8155
square
#2C2E81 #812C59 #817F2C #2C8155
split-complementary
#2C2E81 #81552C #59812C
monochromatic
#0D0D26 #1C1E53 #2C2E81 #3C3EAF #5F61C8

Accessibility & contrast

On white

11.57
#2C2E81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C2E81
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2E81#FFFFFF#000000##FFFFFF
##2C2E811.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D84
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#004353
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2c2e81;
/* rgb */ color: rgb(44, 46, 129);
/* oklch */ color: oklch(35.5% 0.137 275.9);
Tailwind
colors: {
  custom: {
    50: '#7067a6',
    500: '#2c2e81',
    950: '#000000',
  },
}
SCSS
$custom: #2c2e81;
$custom-light: #7067a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2e81",
  "rgb": {
    "r": 44,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 238.588,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35498,
    "c": 0.1366,
    "h": 275.9
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#2C2E81
secondary
#AFAD5A
accent
#D54FD9
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2C2E81

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

Preview Lab → · Contrast checker → · Palette generator →

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