#2C4C9D#2C4C9D

#2C4C9D is a dark, vivid blue. Relative luminance 0.081; OKLCH L 43.9% C 0.137 H 265.0°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#2C4C9D
RGBrgb(44, 76, 157)
HSLhsl(223, 56%, 39%)
HSVhsv(223, 72%, 62%)
CMYKcmyk(72%, 51.6%, 0%, 38.4%)
CIE-LABlab(34.27, 17.04, -47.61)
CIE-LCHlch(34.27, 50.56, 289.69°)
OKLaboklab(43.94% -0.0119 -0.1368)
OKLCHoklch(43.94% 0.137 265)
XYZxyz(9.7068, 8.1377, 32.9509)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4C9D #9D7D2C
analogous
#2C859D #2C4C9D #452C9D
triadic
#2C4C9D #9D2C4C #4C9D2C
tetradic
#2C4C9D #9D2C85 #9D7D2C #2C9D45
square
#2C4C9D #9D2C85 #9D7D2C #2C9D45
split-complementary
#2C4C9D #9D452C #859D2C
monochromatic
#111E3D #1F356D #2C4C9D #3D65C9 #6D8BD6

Accessibility & contrast

On white

7.99
#2C4C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2C4C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4C9D
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4C9D#FFFFFF#000000##FFFFFF
##2C4C9D1.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B56A0
Deuteranopia (green-blind)
#004C9B
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c4c9d;
/* rgb */ color: rgb(44, 76, 157);
/* oklch */ color: oklch(43.9% 0.137 265.0);
Tailwind
colors: {
  custom: {
    50: '#747dba',
    500: '#2c4c9d',
    950: '#000000',
  },
}
SCSS
$custom: #2c4c9d;
$custom-light: #747dba;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4c9d",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 157
  },
  "hsl": {
    "h": 223.009,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.43937,
    "c": 0.1373,
    "h": 265
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#2C4C9D
secondary
#BDA568
accent
#B548E0
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2C4C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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