#2C2B74#2C2B74

#2C2B74 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.122 H 278.2°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2C2B74
RGBrgb(44, 43, 116)
HSLhsl(241, 46%, 31%)
HSVhsv(241, 63%, 45%)
CMYKcmyk(62.1%, 62.9%, 0%, 54.5%)
CIE-LABlab(22.03, 24.10, -41.98)
CIE-LCHlch(22.03, 48.41, 299.85°)
OKLaboklab(33.77% 0.0175 -0.1207)
OKLCHoklch(33.77% 0.122 278.2)
XYZxyz(5.0540, 3.5238, 16.9335)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2B74 #73742B
analogous
#2B4E74 #2C2B74 #502B74
triadic
#2C2B74 #742C2B #2B742C
tetradic
#2C2B74 #742B4E #73742B #2B7450
square
#2C2B74 #742B4E #73742B #2B7450
split-complementary
#2C2B74 #74502B #4E742B
monochromatic
#0A0A1B #1B1A47 #2C2B74 #3D3CA1 #5A58C1

Accessibility & contrast

On white

12.32
#2C2B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2C2B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2B74
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2B74#FFFFFF#000000##FFFFFF
##2C2B741.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003876
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#003D4B
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2c2b74;
/* rgb */ color: rgb(44, 43, 116);
/* oklch */ color: oklch(33.8% 0.122 278.2);
Tailwind
colors: {
  custom: {
    50: '#6d649d',
    500: '#2c2b74',
    950: '#000000',
  },
}
SCSS
$custom: #2c2b74;
$custom-light: #6d649d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2b74",
  "rgb": {
    "r": 44,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 240.822,
    "s": 45.912,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33766,
    "c": 0.12193,
    "h": 278.2
  },
  "luminance": 0.03524
}

Semantic roles & 50–950 ramp

primary
#2C2B74
secondary
#A5A655
accent
#D652D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2C2B74

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

Preview Lab → · Contrast checker → · Palette generator →

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