#2C5494#2C5494

#2C5494 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.1% C 0.114 H 259.4°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#2C5494
RGBrgb(44, 84, 148)
HSLhsl(217, 54%, 38%)
HSVhsv(217, 70%, 58%)
CMYKcmyk(70.3%, 43.2%, 0%, 42%)
CIE-LABlab(36.01, 8.29, -39.37)
CIE-LCHlch(36.01, 40.23, 281.89°)
OKLaboklab(45.08% -0.021 -0.1124)
OKLCHoklch(45.08% 0.114 259.4)
XYZxyz(9.5524, 9.0133, 29.2475)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5494 #946C2C
analogous
#2C8894 #2C5494 #382C94
triadic
#2C5494 #942C54 #54942C
tetradic
#2C5494 #942C88 #946C2C #2C9438
square
#2C5494 #942C88 #946C2C #2C9438
split-complementary
#2C5494 #94382C #88942C
monochromatic
#101E36 #1E3965 #2C5494 #3A6FC3 #6891D2

Accessibility & contrast

On white

7.49
#2C5494 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#2C5494 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5494
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5494#FFFFFF#000000##FFFFFF
##2C54941.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365A96
Deuteranopia (green-blind)
#245093
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c5494;
/* rgb */ color: rgb(44, 84, 148);
/* oklch */ color: oklch(45.1% 0.114 259.4);
Tailwind
colors: {
  custom: {
    50: '#7283b4',
    500: '#2c5494',
    950: '#000000',
  },
}
SCSS
$custom: #2c5494;
$custom-light: #7283b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5494",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 148
  },
  "hsl": {
    "h": 216.923,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45084,
    "c": 0.11437,
    "h": 259.4
  },
  "luminance": 0.09014
}

Semantic roles & 50–950 ramp

primary
#2C5494
secondary
#B99863
accent
#A54ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C5494

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

Preview Lab → · Contrast checker → · Palette generator →

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