#2C5594#2C5594

#2C5594 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.3% C 0.113 H 258.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2C5594
RGBrgb(44, 85, 148)
HSLhsl(216, 54%, 38%)
HSVhsv(216, 70%, 58%)
CMYKcmyk(70.3%, 42.6%, 0%, 42%)
CIE-LABlab(36.31, 7.63, -38.90)
CIE-LCHlch(36.31, 39.64, 281.10°)
OKLaboklab(45.32% -0.022 -0.111)
OKLCHoklch(45.32% 0.113 258.8)
XYZxyz(9.6306, 9.1696, 29.2736)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5594 #946B2C
analogous
#2C8994 #2C5594 #372C94
triadic
#2C5594 #942C55 #55942C
tetradic
#2C5594 #942C89 #946B2C #2C9437
square
#2C5594 #942C89 #946B2C #2C9437
split-complementary
#2C5594 #94372C #89942C
monochromatic
#101F36 #1E3A65 #2C5594 #3A70C3 #6892D2

Accessibility & contrast

On white

7.41
#2C5594 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2C5594 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5594
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5594#FFFFFF#000000##FFFFFF
##2C55941.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375B96
Deuteranopia (green-blind)
#275193
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c5594;
/* rgb */ color: rgb(44, 85, 148);
/* oklch */ color: oklch(45.3% 0.113 258.8);
Tailwind
colors: {
  custom: {
    50: '#7284b4',
    500: '#2c5594',
    950: '#000000',
  },
}
SCSS
$custom: #2c5594;
$custom-light: #7284b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5594",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 148
  },
  "hsl": {
    "h": 216.346,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45316,
    "c": 0.11317,
    "h": 258.8
  },
  "luminance": 0.09171
}

Semantic roles & 50–950 ramp

primary
#2C5594
secondary
#B99763
accent
#A34ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C5594

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

Preview Lab → · Contrast checker → · Palette generator →

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