#2C2F73#2C2F73

#2C2F73 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.5% C 0.115 H 276.6°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#2C2F73
RGBrgb(44, 47, 115)
HSLhsl(237, 45%, 31%)
HSVhsv(237, 62%, 45%)
CMYKcmyk(61.7%, 59.1%, 0%, 54.9%)
CIE-LABlab(23.02, 21.00, -39.74)
CIE-LCHlch(23.02, 44.95, 297.85°)
OKLaboklab(34.47% 0.0133 -0.114)
OKLCHoklch(34.47% 0.115 276.6)
XYZxyz(5.1487, 3.8059, 16.6796)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F73 #73702C
analogous
#2C5273 #2C2F73 #4C2C73
triadic
#2C2F73 #732C2F #2F732C
tetradic
#2C2F73 #732C52 #73702C #2C734C
square
#2C2F73 #732C52 #73702C #2C734C
split-complementary
#2C2F73 #734C2C #52732C
monochromatic
#0A0B1A #1B1D47 #2C2F73 #3D419F #5A5EC0

Accessibility & contrast

On white

11.92
#2C2F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2C2F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2F73
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2F73#FFFFFF#000000##FFFFFF
##2C2F731.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003472
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2c2f73;
/* rgb */ color: rgb(44, 47, 115);
/* oklch */ color: oklch(34.5% 0.115 276.6);
Tailwind
colors: {
  custom: {
    50: '#6d679c',
    500: '#2c2f73',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f73;
$custom-light: #6d679c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f73",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 237.465,
    "s": 44.654,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34473,
    "c": 0.1148,
    "h": 276.6
  },
  "luminance": 0.03806
}

Semantic roles & 50–950 ramp

primary
#2C2F73
secondary
#A5A156
accent
#CF53D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2C2F73

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

Preview Lab → · Contrast checker → · Palette generator →

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