#2C5490#2C5490

#2C5490 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.8% C 0.109 H 258.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#2C5490
RGBrgb(44, 84, 144)
HSLhsl(216, 53%, 37%)
HSVhsv(216, 69%, 56%)
CMYKcmyk(69.4%, 41.7%, 0%, 43.5%)
CIE-LABlab(35.77, 6.77, -37.33)
CIE-LCHlch(35.77, 37.94, 280.28°)
OKLaboklab(44.82% -0.0219 -0.1064)
OKLCHoklch(44.82% 0.109 258.4)
XYZxyz(9.2413, 8.8888, 27.6088)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5490 #90682C
analogous
#2C8690 #2C5490 #362C90
triadic
#2C5490 #902C54 #54902C
tetradic
#2C5490 #902C86 #90682C #2C9036
square
#2C5490 #902C86 #90682C #2C9036
split-complementary
#2C5490 #90362C #86902C
monochromatic
#0F1D32 #1E3961 #2C5490 #3A6FBF #6691D0

Accessibility & contrast

On white

7.56
#2C5490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2C5490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5490
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5490#FFFFFF#000000##FFFFFF
##2C54901.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385992
Deuteranopia (green-blind)
#29508F
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c5490;
/* rgb */ color: rgb(44, 84, 144);
/* oklch */ color: oklch(44.8% 0.109 258.4);
Tailwind
colors: {
  custom: {
    50: '#7183b1',
    500: '#2c5490',
    950: '#000000',
  },
}
SCSS
$custom: #2c5490;
$custom-light: #7183b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5490",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 144
  },
  "hsl": {
    "h": 216,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4482,
    "c": 0.10866,
    "h": 258.4
  },
  "luminance": 0.0889
}

Semantic roles & 50–950 ramp

primary
#2C5490
secondary
#B79461
accent
#A24BDD
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #2C5490

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

Preview Lab → · Contrast checker → · Palette generator →

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