#2C4591#2C4591

#2C4591 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.129 H 266.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#2C4591
RGBrgb(44, 69, 145)
HSLhsl(225, 53%, 37%)
HSVhsv(225, 70%, 57%)
CMYKcmyk(69.7%, 52.4%, 0%, 43.1%)
CIE-LABlab(31.43, 17.18, -44.90)
CIE-LCHlch(31.43, 48.08, 290.94°)
OKLaboklab(41.51% -0.0069 -0.1289)
OKLCHoklch(41.51% 0.129 266.9)
XYZxyz(8.2759, 6.8352, 27.6658)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4591 #91782C
analogous
#2C7791 #2C4591 #462C91
triadic
#2C4591 #912C45 #45912C
tetradic
#2C4591 #912C77 #91782C #2C9146
square
#2C4591 #912C77 #91782C #2C9146
split-complementary
#2C4591 #91462C #77912C
monochromatic
#101833 #1E2F62 #2C4591 #3A5BC0 #6781D1

Accessibility & contrast

On white

8.87
#2C4591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4591
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4591#FFFFFF#000000##FFFFFF
##2C45911.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174F94
Deuteranopia (green-blind)
#00468F
Tritanopia (blue-blind)
#005764
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c4591;
/* rgb */ color: rgb(44, 69, 145);
/* oklch */ color: oklch(41.5% 0.129 266.9);
Tailwind
colors: {
  custom: {
    50: '#7278b2',
    500: '#2c4591',
    950: '#000000',
  },
}
SCSS
$custom: #2c4591;
$custom-light: #7278b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4591",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 225.149,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.4151,
    "c": 0.12911,
    "h": 266.9
  },
  "luminance": 0.06836
}

Semantic roles & 50–950 ramp

primary
#2C4591
secondary
#B7A262
accent
#B94BDD
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4591

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

Preview Lab → · Contrast checker → · Palette generator →

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