#2C2F53#2C2F53

#2C2F53 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.064 H 278.5°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#2C2F53
RGBrgb(44, 47, 83)
HSLhsl(235, 31%, 25%)
HSVhsv(235, 47%, 33%)
CMYKcmyk(47%, 43.4%, 0%, 67.5%)
CIE-LABlab(20.80, 9.54, -22.39)
CIE-LCHlch(20.80, 24.34, 293.09°)
OKLaboklab(32.09% 0.0095 -0.0631)
OKLCHoklch(32.09% 0.064 278.5)
XYZxyz(3.6161, 3.1929, 8.6077)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C2F53 #53502C
analogous
#2C4253 #2C2F53 #3D2C53
triadic
#2C2F53 #532C2F #2F532C
tetradic
#2C2F53 #532C42 #53502C #2C533D
square
#2C2F53 #532C42 #53502C #2C533D
split-complementary
#2C2F53 #533D2C #42532C
monochromatic
#0B0B14 #17182B #2C2F53 #41467B #565CA3

Accessibility & contrast

On white

12.82
#2C2F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#2C2F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C2F53
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C2F53#FFFFFF#000000##FFFFFF
##2C2F531.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223454
Deuteranopia (green-blind)
#1F3152
Tritanopia (blue-blind)
#1F363D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c2f53;
/* rgb */ color: rgb(44, 47, 83);
/* oklch */ color: oklch(32.1% 0.064 278.5);
Tailwind
colors: {
  custom: {
    50: '#676783',
    500: '#2c2f53',
    950: '#000000',
  },
}
SCSS
$custom: #2c2f53;
$custom-light: #676783;
$custom-dark: #000000;
JSON
{
  "hex": "#2c2f53",
  "rgb": {
    "r": 44,
    "g": 47,
    "b": 83
  },
  "hsl": {
    "h": 235.385,
    "s": 30.709,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32086,
    "c": 0.06381,
    "h": 278.5
  },
  "luminance": 0.03193
}

Semantic roles & 50–950 ramp

primary
#2C2F53
secondary
#858156
accent
#BF61C7
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2C2F53

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

Preview Lab → · Contrast checker → · Palette generator →

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