#2C4A96#2C4A96

#2C4A96 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.130 H 265.1°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#2C4A96
RGBrgb(44, 74, 150)
HSLhsl(223, 55%, 38%)
HSVhsv(223, 71%, 59%)
CMYKcmyk(70.7%, 50.7%, 0%, 41.2%)
CIE-LABlab(33.21, 15.71, -45.08)
CIE-LCHlch(33.21, 47.74, 289.21°)
OKLaboklab(42.98% -0.011 -0.1294)
OKLCHoklch(42.98% 0.13 265.1)
XYZxyz(8.9906, 7.6341, 29.8480)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4A96 #96782C
analogous
#2C7F96 #2C4A96 #432C96
triadic
#2C4A96 #962C4A #4A962C
tetradic
#2C4A96 #962C7F #96782C #2C9643
square
#2C4A96 #962C7F #96782C #2C9643
split-complementary
#2C4A96 #96432C #7F962C
monochromatic
#101B37 #1E3367 #2C4A96 #3A61C5 #6987D3

Accessibility & contrast

On white

8.31
#2C4A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2C4A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4A96
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4A96#FFFFFF#000000##FFFFFF
##2C4A961.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5399
Deuteranopia (green-blind)
#004A94
Tritanopia (blue-blind)
#005C69
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c4a96;
/* rgb */ color: rgb(44, 74, 150);
/* oklch */ color: oklch(43.0% 0.130 265.1);
Tailwind
colors: {
  custom: {
    50: '#737cb5',
    500: '#2c4a96',
    950: '#000000',
  },
}
SCSS
$custom: #2c4a96;
$custom-light: #737cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4a96",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 150
  },
  "hsl": {
    "h": 223.019,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42975,
    "c": 0.12984,
    "h": 265.1
  },
  "luminance": 0.07635
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4A96

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

Preview Lab → · Contrast checker → · Palette generator →

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