#2C2973#2C2973

#2C2973 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.3% C 0.123 H 279.1°. Best body text is #FFFFFF at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#2C2973
RGBrgb(44, 41, 115)
HSLhsl(242, 47%, 31%)
HSVhsv(242, 64%, 45%)
CMYKcmyk(61.7%, 64.3%, 0%, 54.9%)
CIE-LABlab(21.43, 25.08, -42.32)
CIE-LCHlch(21.43, 49.20, 300.65°)
OKLaboklab(33.3% 0.0196 -0.1217)
OKLCHoklch(33.3% 0.123 279.1)
XYZxyz(4.9252, 3.3588, 16.6051)
Luminance0.0336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2973 #707329
analogous
#294B73 #2C2973 #512973
triadic
#2C2973 #732C29 #29732C
tetradic
#2C2973 #73294B #707329 #297351
square
#2C2973 #73294B #707329 #297351
split-complementary
#2C2973 #735129 #4B7329
monochromatic
#090919 #1B1946 #2C2973 #3D39A0 #5954C2

Accessibility & contrast

On white

12.56
#2C2973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#2C2973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2973
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2973#FFFFFF#000000##FFFFFF
##2C29731.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c2973;
/* rgb */ color: rgb(44, 41, 115);
/* oklch */ color: oklch(33.3% 0.123 279.1);
Tailwind
colors: {
  custom: {
    50: '#6d639c',
    500: '#2c2973',
    950: '#000000',
  },
}
SCSS
$custom: #2c2973;
$custom-light: #6d639c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2973",
  "rgb": {
    "r": 44,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 242.432,
    "s": 47.436,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33296,
    "c": 0.12324,
    "h": 279.1
  },
  "luminance": 0.03359
}

Semantic roles & 50–950 ramp

primary
#2C2973
secondary
#A2A553
accent
#D751D2
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2C2973

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

Preview Lab → · Contrast checker → · Palette generator →

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