#2C4A91#2C4A91

#2C4A91 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.6% C 0.123 H 264.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#2C4A91
RGBrgb(44, 74, 145)
HSLhsl(222, 53%, 37%)
HSVhsv(222, 70%, 57%)
CMYKcmyk(69.7%, 49%, 0%, 43.1%)
CIE-LABlab(32.87, 13.80, -42.58)
CIE-LCHlch(32.87, 44.76, 287.96°)
OKLaboklab(42.61% -0.0117 -0.122)
OKLCHoklch(42.61% 0.123 264.5)
XYZxyz(8.5965, 7.4765, 27.7726)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4A91 #91732C
analogous
#2C7D91 #2C4A91 #412C91
triadic
#2C4A91 #912C4A #4A912C
tetradic
#2C4A91 #912C7D #91732C #2C9141
square
#2C4A91 #912C7D #91732C #2C9141
split-complementary
#2C4A91 #91412C #7D912C
monochromatic
#101A33 #1E3262 #2C4A91 #3A62C0 #6786D1

Accessibility & contrast

On white

8.42
#2C4A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4A91
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4A91#FFFFFF#000000##FFFFFF
##2C4A911.008.422.508.42
#FFFFFF8.421.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245294
Deuteranopia (green-blind)
#0C4990
Tritanopia (blue-blind)
#005B66
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c4a91;
/* rgb */ color: rgb(44, 74, 145);
/* oklch */ color: oklch(42.6% 0.123 264.5);
Tailwind
colors: {
  custom: {
    50: '#717cb2',
    500: '#2c4a91',
    950: '#000000',
  },
}
SCSS
$custom: #2c4a91;
$custom-light: #717cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4a91",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 145
  },
  "hsl": {
    "h": 222.178,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42606,
    "c": 0.12259,
    "h": 264.5
  },
  "luminance": 0.07477
}

Semantic roles & 50–950 ramp

primary
#2C4A91
secondary
#B79E62
accent
#B24BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4A91

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

Preview Lab → · Contrast checker → · Palette generator →

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