#2C4E99#2C4E99

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

Color values

HEX#2C4E99
RGBrgb(44, 78, 153)
HSLhsl(221, 55%, 39%)
HSVhsv(221, 71%, 60%)
CMYKcmyk(71.2%, 49%, 0%, 40%)
CIE-LABlab(34.57, 14.17, -44.71)
CIE-LCHlch(34.57, 46.90, 287.59°)
OKLaboklab(44.08% -0.0143 -0.1282)
OKLCHoklch(44.08% 0.129 263.6)
XYZxyz(9.5108, 8.2832, 31.2284)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E99 #99772C
analogous
#2C8499 #2C4E99 #402C99
triadic
#2C4E99 #992C4E #4E992C
tetradic
#2C4E99 #992C84 #99772C #2C9940
square
#2C4E99 #992C84 #99772C #2C9940
split-complementary
#2C4E99 #99402C #84992C
monochromatic
#111E3A #1E3669 #2C4E99 #3B67C7 #6B8CD4

Accessibility & contrast

On white

7.90
#2C4E99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4E99
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E99#FFFFFF#000000##FFFFFF
##2C4E991.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25579C
Deuteranopia (green-blind)
#074D97
Tritanopia (blue-blind)
#00606C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c4e99;
/* rgb */ color: rgb(44, 78, 153);
/* oklch */ color: oklch(44.1% 0.129 263.6);
Tailwind
colors: {
  custom: {
    50: '#737fb7',
    500: '#2c4e99',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e99;
$custom-light: #737fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e99",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 153
  },
  "hsl": {
    "h": 221.284,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44077,
    "c": 0.12901,
    "h": 263.6
  },
  "luminance": 0.08284
}

Semantic roles & 50–950 ramp

primary
#2C4E99
secondary
#BBA166
accent
#B049DF
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C4E99

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

Preview Lab → · Contrast checker → · Palette generator →

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