#2C4E91#2C4E91

#2C4E91 is a dark, moderate blue. Relative luminance 0.080; OKLCH L 43.5% C 0.117 H 262.4°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#2C4E91
RGBrgb(44, 78, 145)
HSLhsl(220, 53%, 37%)
HSVhsv(220, 70%, 57%)
CMYKcmyk(69.7%, 46.2%, 0%, 43.1%)
CIE-LABlab(34.04, 11.12, -40.70)
CIE-LCHlch(34.04, 42.19, 285.28°)
OKLaboklab(43.51% -0.0156 -0.1164)
OKLCHoklch(43.51% 0.117 262.4)
XYZxyz(8.8721, 8.0277, 27.8645)
Luminance0.0803 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E91 #916F2C
analogous
#2C8191 #2C4E91 #3D2C91
triadic
#2C4E91 #912C4E #4E912C
tetradic
#2C4E91 #912C81 #916F2C #2C913D
square
#2C4E91 #912C81 #916F2C #2C913D
split-complementary
#2C4E91 #913D2C #81912C
monochromatic
#101B33 #1E3562 #2C4E91 #3A67C0 #678AD1

Accessibility & contrast

On white

8.06
#2C4E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2C4E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E91
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E91#FFFFFF#000000##FFFFFF
##2C4E911.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5594
Deuteranopia (green-blind)
#1A4C90
Tritanopia (blue-blind)
#005E68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c4e91;
/* rgb */ color: rgb(44, 78, 145);
/* oklch */ color: oklch(43.5% 0.117 262.4);
Tailwind
colors: {
  custom: {
    50: '#717fb2',
    500: '#2c4e91',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e91;
$custom-light: #717fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e91",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 145
  },
  "hsl": {
    "h": 219.802,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43505,
    "c": 0.11747,
    "h": 262.4
  },
  "luminance": 0.08029
}

Semantic roles & 50–950 ramp

primary
#2C4E91
secondary
#B79A62
accent
#AC4BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C4E91

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

Preview Lab → · Contrast checker → · Palette generator →

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