#2C4166#2C4166

#2C4166 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.6% C 0.069 H 261.2°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#2C4166
RGBrgb(44, 65, 102)
HSLhsl(218, 40%, 29%)
HSVhsv(218, 57%, 40%)
CMYKcmyk(56.9%, 36.3%, 0%, 60%)
CIE-LABlab(27.50, 3.82, -24.24)
CIE-LCHlch(27.50, 24.54, 278.96°)
OKLaboklab(37.62% -0.0106 -0.0684)
OKLCHoklch(37.62% 0.069 261.2)
XYZxyz(5.3265, 5.2750, 13.3053)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4166 #66512C
analogous
#2C5E66 #2C4166 #342C66
triadic
#2C4166 #662C41 #41662C
tetradic
#2C4166 #662C5E #66512C #2C6634
square
#2C4166 #662C5E #66512C #2C6634
split-complementary
#2C4166 #66342C #5E662C
monochromatic
#090E15 #1A263B #2C4166 #3E5C91 #5679B6

Accessibility & contrast

On white

10.22
#2C4166 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2C4166 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4166
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4166#FFFFFF#000000##FFFFFF
##2C41661.0010.222.0610.22
#FFFFFF10.221.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324468
Deuteranopia (green-blind)
#2B3E65
Tritanopia (blue-blind)
#0C494E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c4166;
/* rgb */ color: rgb(44, 65, 102);
/* oklch */ color: oklch(37.6% 0.069 261.2);
Tailwind
colors: {
  custom: {
    50: '#6a7592',
    500: '#2c4166',
    950: '#000000',
  },
}
SCSS
$custom: #2c4166;
$custom-light: #6a7592;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4166",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 102
  },
  "hsl": {
    "h": 218.276,
    "s": 39.726,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37616,
    "c": 0.0692,
    "h": 261.2
  },
  "luminance": 0.05275
}

Semantic roles & 50–950 ramp

primary
#2C4166
secondary
#988056
accent
#A458D0
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080D
muted
#7A7B7D

Preview Lab

Preview with #2C4166

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

Preview Lab → · Contrast checker → · Palette generator →

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