#2C4E9A#2C4E9A

#2C4E9A is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.1% C 0.130 H 263.8°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#2C4E9A
RGBrgb(44, 78, 154)
HSLhsl(221, 56%, 39%)
HSVhsv(221, 71%, 60%)
CMYKcmyk(71.4%, 49.4%, 0%, 39.6%)
CIE-LABlab(34.63, 14.56, -45.21)
CIE-LCHlch(34.63, 47.49, 287.85°)
OKLaboklab(44.15% -0.0142 -0.1297)
OKLCHoklch(44.15% 0.13 263.8)
XYZxyz(9.5938, 8.3164, 31.6652)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E9A #9A782C
analogous
#2C859A #2C4E9A #412C9A
triadic
#2C4E9A #9A2C4E #4E9A2C
tetradic
#2C4E9A #9A2C85 #9A782C #2C9A41
square
#2C4E9A #9A2C85 #9A782C #2C9A41
split-complementary
#2C4E9A #9A412C #859A2C
monochromatic
#111E3B #1E366A #2C4E9A #3C67C7 #6C8CD5

Accessibility & contrast

On white

7.88
#2C4E9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2C4E9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E9A
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E9A#FFFFFF#000000##FFFFFF
##2C4E9A1.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24579D
Deuteranopia (green-blind)
#044D98
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c4e9a;
/* rgb */ color: rgb(44, 78, 154);
/* oklch */ color: oklch(44.1% 0.130 263.8);
Tailwind
colors: {
  custom: {
    50: '#737fb8',
    500: '#2c4e9a',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e9a;
$custom-light: #737fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e9a",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 154
  },
  "hsl": {
    "h": 221.455,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4415,
    "c": 0.13045,
    "h": 263.8
  },
  "luminance": 0.08317
}

Semantic roles & 50–950 ramp

primary
#2C4E9A
secondary
#BCA166
accent
#B149DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C4E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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