#2C3151#2C3151

#2C3151 is a dark, muted blue. Relative luminance 0.033; OKLCH L 32.4% C 0.057 H 276.0°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#2C3151
RGBrgb(44, 49, 81)
HSLhsl(232, 30%, 25%)
HSVhsv(232, 46%, 32%)
CMYKcmyk(45.7%, 39.5%, 0%, 68.2%)
CIE-LABlab(21.30, 7.46, -20.26)
CIE-LCHlch(21.30, 21.59, 290.21°)
OKLaboklab(32.44% 0.006 -0.0569)
OKLCHoklch(32.44% 0.057 276)
XYZxyz(3.6218, 3.3260, 8.2341)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3151 #514C2C
analogous
#2C4451 #2C3151 #3A2C51
triadic
#2C3151 #512C31 #31512C
tetradic
#2C3151 #512C44 #514C2C #2C513A
square
#2C3151 #512C44 #514C2C #2C513A
split-complementary
#2C3151 #513A2C #44512C
monochromatic
#0B0C14 #161929 #2C3151 #424979 #5761A0

Accessibility & contrast

On white

12.61
#2C3151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C3151
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3151#FFFFFF#000000##FFFFFF
##2C31511.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263552
Deuteranopia (green-blind)
#233250
Tritanopia (blue-blind)
#20373D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2c3151;
/* rgb */ color: rgb(44, 49, 81);
/* oklch */ color: oklch(32.4% 0.057 276.0);
Tailwind
colors: {
  custom: {
    50: '#676882',
    500: '#2c3151',
    950: '#000000',
  },
}
SCSS
$custom: #2c3151;
$custom-light: #676882;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3151",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 231.892,
    "s": 29.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32435,
    "c": 0.05721,
    "h": 276
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

primary
#2C3151
secondary
#837D56
accent
#B862C6
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2C3151

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

Preview Lab → · Contrast checker → · Palette generator →

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