#2C2C73#2C2C73

#2C2C73 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.9% C 0.119 H 278.0°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#2C2C73
RGBrgb(44, 44, 115)
HSLhsl(240, 45%, 31%)
HSVhsv(240, 62%, 45%)
CMYKcmyk(61.7%, 61.7%, 0%, 54.9%)
CIE-LABlab(22.21, 23.05, -41.05)
CIE-LCHlch(22.21, 47.08, 299.32°)
OKLaboklab(33.87% 0.0165 -0.1179)
OKLCHoklch(33.87% 0.119 278)
XYZxyz(5.0329, 3.5743, 16.6410)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2C73 #73732C
analogous
#2C4F73 #2C2C73 #4F2C73
triadic
#2C2C73 #732C2C #2C732C
tetradic
#2C2C73 #732C4F #73732C #2C734F
square
#2C2C73 #732C4F #73732C #2C734F
split-complementary
#2C2C73 #734F2C #4F732C
monochromatic
#0A0A1A #1B1B47 #2C2C73 #3D3D9F #5A5AC0

Accessibility & contrast

On white

12.24
#2C2C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2C2C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2C73
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2C73#FFFFFF#000000##FFFFFF
##2C2C731.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c2c73;
/* rgb */ color: rgb(44, 44, 115);
/* oklch */ color: oklch(33.9% 0.119 278.0);
Tailwind
colors: {
  custom: {
    50: '#6d659c',
    500: '#2c2c73',
    950: '#000000',
  },
}
SCSS
$custom: #2c2c73;
$custom-light: #6d659c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2c73",
  "rgb": {
    "r": 44,
    "g": 44,
    "b": 115
  },
  "hsl": {
    "h": 240,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33873,
    "c": 0.11906,
    "h": 278
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#2C2C73
secondary
#A5A556
accent
#D453D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2C2C73

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

Preview Lab → · Contrast checker → · Palette generator →

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