#2C2A4E#2C2A4E

#2C2A4E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.064 H 284.5°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#2C2A4E
RGBrgb(44, 42, 78)
HSLhsl(243, 30%, 24%)
HSVhsv(243, 46%, 31%)
CMYKcmyk(43.6%, 46.2%, 0%, 69.4%)
CIE-LABlab(18.98, 11.38, -21.91)
CIE-LCHlch(18.98, 24.69, 297.45°)
OKLaboklab(30.6% 0.016 -0.0617)
OKLCHoklch(30.6% 0.064 284.5)
XYZxyz(3.2414, 2.7413, 7.5646)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2A4E #4C4E2A
analogous
#2A3A4E #2C2A4E #3E2A4E
triadic
#2C2A4E #4E2C2A #2A4E2C
tetradic
#2C2A4E #4E2A3A #4C4E2A #2A4E3E
square
#2C2A4E #4E2A3A #4C4E2A #2A4E3E
split-complementary
#2C2A4E #4E3E2A #3A4E2A
monochromatic
#0B0B14 #161526 #2C2A4E #423F76 #59559E

Accessibility & contrast

On white

13.56
#2C2A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#2C2A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2A4E
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2A4E#FFFFFF#000000##FFFFFF
##2C2A4E1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F4F
Deuteranopia (green-blind)
#1C2D4D
Tritanopia (blue-blind)
#223138
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #2c2a4e;
/* rgb */ color: rgb(44, 42, 78);
/* oklch */ color: oklch(30.6% 0.064 284.5);
Tailwind
colors: {
  custom: {
    50: '#676380',
    500: '#2c2a4e',
    950: '#000000',
  },
}
SCSS
$custom: #2c2a4e;
$custom-light: #676380;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2a4e",
  "rgb": {
    "r": 44,
    "g": 42,
    "b": 78
  },
  "hsl": {
    "h": 243.333,
    "s": 30,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30596,
    "c": 0.06377,
    "h": 284.5
  },
  "luminance": 0.02741
}

Semantic roles & 50–950 ramp

primary
#2C2A4E
secondary
#7E8054
accent
#C662C1
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#06050A
muted
#7A797C

Preview Lab

Preview with #2C2A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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