#2C304C#2C304C

#2C304C is a dark, muted blue. Relative luminance 0.032; OKLCH L 31.9% C 0.050 H 276.9°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#2C304C
RGBrgb(44, 48, 76)
HSLhsl(233, 27%, 24%)
HSVhsv(233, 42%, 30%)
CMYKcmyk(42.1%, 36.8%, 0%, 70.2%)
CIE-LABlab(20.72, 6.48, -17.83)
CIE-LCHlch(20.72, 18.97, 289.99°)
OKLaboklab(31.89% 0.0061 -0.0499)
OKLCHoklch(31.89% 0.05 276.9)
XYZxyz(3.3998, 3.1710, 7.2690)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C304C #4C482C
analogous
#2C404C #2C304C #382C4C
triadic
#2C304C #4C2C30 #304C2C
tetradic
#2C304C #4C2C40 #4C482C #2C4C38
square
#2C304C #4C2C40 #4C482C #2C4C38
split-complementary
#2C304C #4C382C #404C2C
monochromatic
#0B0C13 #161825 #2C304C #424873 #59619A

Accessibility & contrast

On white

12.85
#2C304C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#2C304C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C304C
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C304C#FFFFFF#000000##FFFFFF
##2C304C1.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27334D
Deuteranopia (green-blind)
#25314B
Tritanopia (blue-blind)
#23353A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #2c304c;
/* rgb */ color: rgb(44, 48, 76);
/* oklch */ color: oklch(31.9% 0.050 276.9);
Tailwind
colors: {
  custom: {
    50: '#66687e',
    500: '#2c304c',
    950: '#000000',
  },
}
SCSS
$custom: #2c304c;
$custom-light: #66687e;
$custom-dark: #000000;
JSON
{
  "hex": "#2c304c",
  "rgb": {
    "r": 44,
    "g": 48,
    "b": 76
  },
  "hsl": {
    "h": 232.5,
    "s": 26.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31892,
    "c": 0.05023,
    "h": 276.9
  },
  "luminance": 0.03171
}

Semantic roles & 50–950 ramp

primary
#2C304C
secondary
#7E7956
accent
#B765C3
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2C304C

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

Preview Lab → · Contrast checker → · Palette generator →

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