#2C416B#2C416B

#2C416B is a dark, moderate blue. Relative luminance 0.054; OKLCH L 37.9% C 0.077 H 263.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#2C416B
RGBrgb(44, 65, 107)
HSLhsl(220, 42%, 30%)
HSVhsv(220, 59%, 42%)
CMYKcmyk(58.9%, 39.3%, 0%, 58%)
CIE-LABlab(27.78, 5.63, -27.00)
CIE-LCHlch(27.78, 27.58, 281.78°)
OKLaboklab(37.92% -0.0093 -0.0764)
OKLCHoklch(37.92% 0.077 263.1)
XYZxyz(5.5819, 5.3772, 14.6508)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C416B #6B562C
analogous
#2C616B #2C416B #372C6B
triadic
#2C416B #6B2C41 #416B2C
tetradic
#2C416B #6B2C61 #6B562C #2C6B37
square
#2C416B #6B2C61 #6B562C #2C6B37
split-complementary
#2C416B #6B372C #616B2C
monochromatic
#090D16 #1A2740 #2C416B #3E5B96 #5778BA

Accessibility & contrast

On white

10.12
#2C416B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2C416B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C416B
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C416B#FFFFFF#000000##FFFFFF
##2C416B1.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30456D
Deuteranopia (green-blind)
#283F6A
Tritanopia (blue-blind)
#044A51
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c416b;
/* rgb */ color: rgb(44, 65, 107);
/* oklch */ color: oklch(37.9% 0.077 263.1);
Tailwind
colors: {
  custom: {
    50: '#6a7595',
    500: '#2c416b',
    950: '#000000',
  },
}
SCSS
$custom: #2c416b;
$custom-light: #6a7595;
$custom-dark: #000000;
JSON
{
  "hex": "#2c416b",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 107
  },
  "hsl": {
    "h": 220,
    "s": 41.722,
    "l": 29.608
  },
  "oklch": {
    "l": 0.37924,
    "c": 0.07698,
    "h": 263.1
  },
  "luminance": 0.05378
}

Semantic roles & 50–950 ramp

primary
#2C416B
secondary
#9D8556
accent
#A856D2
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2C416B

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

Preview Lab → · Contrast checker → · Palette generator →

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