#2C4399#2C4399

#2C4399 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.7% C 0.143 H 268.2°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#2C4399
RGBrgb(44, 67, 153)
HSLhsl(227, 55%, 39%)
HSVhsv(227, 71%, 60%)
CMYKcmyk(71.2%, 56.2%, 0%, 40%)
CIE-LABlab(31.46, 21.57, -49.73)
CIE-LCHlch(31.46, 54.21, 293.45°)
OKLaboklab(41.72% -0.0044 -0.1432)
OKLCHoklch(41.72% 0.143 268.2)
XYZxyz(8.7936, 6.8488, 30.9893)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4399 #99822C
analogous
#2C7999 #2C4399 #4B2C99
triadic
#2C4399 #992C43 #43992C
tetradic
#2C4399 #992C79 #99822C #2C994B
square
#2C4399 #992C79 #99822C #2C994B
split-complementary
#2C4399 #994B2C #79992C
monochromatic
#11193A #1E2E69 #2C4399 #3B59C7 #6B81D4

Accessibility & contrast

On white

8.86
#2C4399 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2C4399 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4399
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4399#FFFFFF#000000##FFFFFF
##2C43991.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#004597
Tritanopia (blue-blind)
#005867
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c4399;
/* rgb */ color: rgb(44, 67, 153);
/* oklch */ color: oklch(41.7% 0.143 268.2);
Tailwind
colors: {
  custom: {
    50: '#7476b8',
    500: '#2c4399',
    950: '#000000',
  },
}
SCSS
$custom: #2c4399;
$custom-light: #7476b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4399",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 153
  },
  "hsl": {
    "h": 227.339,
    "s": 55.33,
    "l": 38.627
  },
  "oklch": {
    "l": 0.41721,
    "c": 0.14324,
    "h": 268.2
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#2C4399
secondary
#BBA966
accent
#BF49DF
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4399

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

Preview Lab → · Contrast checker → · Palette generator →

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