#2C2D74#2C2D74

#2C2D74 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.2% C 0.119 H 277.4°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#2C2D74
RGBrgb(44, 45, 116)
HSLhsl(239, 45%, 31%)
HSVhsv(239, 62%, 45%)
CMYKcmyk(62.1%, 61.2%, 0%, 54.5%)
CIE-LABlab(22.56, 22.74, -41.13)
CIE-LCHlch(22.56, 46.99, 298.94°)
OKLaboklab(34.16% 0.0154 -0.1181)
OKLCHoklch(34.16% 0.119 277.4)
XYZxyz(5.1285, 3.6728, 16.9583)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2D74 #74732C
analogous
#2C5174 #2C2D74 #4F2C74
triadic
#2C2D74 #742C2D #2D742C
tetradic
#2C2D74 #742C51 #74732C #2C744F
square
#2C2D74 #742C51 #74732C #2C744F
split-complementary
#2C2D74 #744F2C #51742C
monochromatic
#0A0B1B #1B1C48 #2C2D74 #3D3EA0 #5A5BC0

Accessibility & contrast

On white

12.11
#2C2D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#2C2D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2D74
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2D74#FFFFFF#000000##FFFFFF
##2C2D741.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2c2d74;
/* rgb */ color: rgb(44, 45, 116);
/* oklch */ color: oklch(34.2% 0.119 277.4);
Tailwind
colors: {
  custom: {
    50: '#6d669d',
    500: '#2c2d74',
    950: '#000000',
  },
}
SCSS
$custom: #2c2d74;
$custom-light: #6d669d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2d74",
  "rgb": {
    "r": 44,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 239.167,
    "s": 45,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34156,
    "c": 0.11913,
    "h": 277.4
  },
  "luminance": 0.03673
}

Semantic roles & 50–950 ramp

primary
#2C2D74
secondary
#A6A456
accent
#D353D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2C2D74

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

Preview Lab → · Contrast checker → · Palette generator →

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