#2C4996#2C4996

#2C4996 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.131 H 265.6°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#2C4996
RGBrgb(44, 73, 150)
HSLhsl(224, 55%, 38%)
HSVhsv(224, 71%, 59%)
CMYKcmyk(70.7%, 51.3%, 0%, 41.2%)
CIE-LABlab(32.92, 16.38, -45.54)
CIE-LCHlch(32.92, 48.40, 289.78°)
OKLaboklab(42.76% -0.01 -0.1307)
OKLCHoklch(42.76% 0.131 265.6)
XYZxyz(8.9243, 7.5017, 29.8259)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4996 #96792C
analogous
#2C7E96 #2C4996 #442C96
triadic
#2C4996 #962C49 #49962C
tetradic
#2C4996 #962C7E #96792C #2C9644
square
#2C4996 #962C7E #96792C #2C9644
split-complementary
#2C4996 #96442C #7E962C
monochromatic
#101B37 #1E3267 #2C4996 #3A60C5 #6986D3

Accessibility & contrast

On white

8.40
#2C4996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2C4996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4996
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4996#FFFFFF#000000##FFFFFF
##2C49961.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C5399
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#005B68
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c4996;
/* rgb */ color: rgb(44, 73, 150);
/* oklch */ color: oklch(42.8% 0.131 265.6);
Tailwind
colors: {
  custom: {
    50: '#737bb5',
    500: '#2c4996',
    950: '#000000',
  },
}
SCSS
$custom: #2c4996;
$custom-light: #737bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4996",
  "rgb": {
    "r": 44,
    "g": 73,
    "b": 150
  },
  "hsl": {
    "h": 223.585,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42757,
    "c": 0.13114,
    "h": 265.6
  },
  "luminance": 0.07503
}

Semantic roles & 50–950 ramp

primary
#2C4996
secondary
#BAA264
accent
#B54ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4996

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

Preview Lab → · Contrast checker → · Palette generator →

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