#2C4F91#2C4F91

#2C4F91 is a dark, moderate blue. Relative luminance 0.082; OKLCH L 43.7% C 0.116 H 261.8°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#2C4F91
RGBrgb(44, 79, 145)
HSLhsl(219, 53%, 37%)
HSVhsv(219, 70%, 57%)
CMYKcmyk(69.7%, 45.5%, 0%, 43.1%)
CIE-LABlab(34.34, 10.45, -40.23)
CIE-LCHlch(34.34, 41.56, 284.57°)
OKLaboklab(43.73% -0.0166 -0.115)
OKLCHoklch(43.73% 0.116 261.8)
XYZxyz(8.9437, 8.1709, 27.8884)
Luminance0.0817 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F91 #916E2C
analogous
#2C8291 #2C4F91 #3C2C91
triadic
#2C4F91 #912C4F #4F912C
tetradic
#2C4F91 #912C82 #916E2C #2C913C
square
#2C4F91 #912C82 #916E2C #2C913C
split-complementary
#2C4F91 #913C2C #82912C
monochromatic
#101C33 #1E3562 #2C4F91 #3A69C0 #678BD1

Accessibility & contrast

On white

7.97
#2C4F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2C4F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4F91
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F91#FFFFFF#000000##FFFFFF
##2C4F911.007.972.637.97
#FFFFFF7.971.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5694
Deuteranopia (green-blind)
#1D4C90
Tritanopia (blue-blind)
#005E69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c4f91;
/* rgb */ color: rgb(44, 79, 145);
/* oklch */ color: oklch(43.7% 0.116 261.8);
Tailwind
colors: {
  custom: {
    50: '#717fb2',
    500: '#2c4f91',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f91;
$custom-light: #717fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f91",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 145
  },
  "hsl": {
    "h": 219.208,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43732,
    "c": 0.11621,
    "h": 261.8
  },
  "luminance": 0.08172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4F91

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

Preview Lab → · Contrast checker → · Palette generator →

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