#2C5396#2C5396

#2C5396 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 45.0% C 0.118 H 260.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#2C5396
RGBrgb(44, 83, 150)
HSLhsl(218, 55%, 38%)
HSVhsv(218, 71%, 59%)
CMYKcmyk(70.7%, 44.7%, 0%, 41.2%)
CIE-LABlab(35.84, 9.71, -40.86)
CIE-LCHlch(35.84, 42.00, 283.36°)
OKLaboklab(44.99% -0.0196 -0.1168)
OKLCHoklch(44.99% 0.118 260.5)
XYZxyz(9.6350, 8.9230, 30.0628)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5396 #966F2C
analogous
#2C8896 #2C5396 #3A2C96
triadic
#2C5396 #962C53 #53962C
tetradic
#2C5396 #962C88 #966F2C #2C963A
square
#2C5396 #962C88 #966F2C #2C963A
split-complementary
#2C5396 #963A2C #88962C
monochromatic
#101F37 #1E3967 #2C5396 #3A6DC5 #6990D3

Accessibility & contrast

On white

7.54
#2C5396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5396
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5396#FFFFFF#000000##FFFFFF
##2C53961.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A99
Deuteranopia (green-blind)
#205095
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c5396;
/* rgb */ color: rgb(44, 83, 150);
/* oklch */ color: oklch(45.0% 0.118 260.5);
Tailwind
colors: {
  custom: {
    50: '#7282b5',
    500: '#2c5396',
    950: '#000000',
  },
}
SCSS
$custom: #2c5396;
$custom-light: #7282b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5396",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 150
  },
  "hsl": {
    "h": 217.925,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4499,
    "c": 0.11845,
    "h": 260.5
  },
  "luminance": 0.08924
}

Semantic roles & 50–950 ramp

primary
#2C5396
secondary
#BA9A64
accent
#A74ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C5396

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

Preview Lab → · Contrast checker → · Palette generator →

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