#2C5296#2C5296

#2C5296 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.8% C 0.120 H 261.0°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#2C5296
RGBrgb(44, 82, 150)
HSLhsl(218, 55%, 38%)
HSVhsv(218, 71%, 59%)
CMYKcmyk(70.7%, 45.3%, 0%, 41.2%)
CIE-LABlab(35.54, 10.37, -41.33)
CIE-LCHlch(35.54, 42.61, 284.08°)
OKLaboklab(44.76% -0.0186 -0.1182)
OKLCHoklch(44.76% 0.12 261)
XYZxyz(9.5591, 8.7711, 30.0375)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5296 #96702C
analogous
#2C8796 #2C5296 #3B2C96
triadic
#2C5296 #962C52 #52962C
tetradic
#2C5296 #962C87 #96702C #2C963B
square
#2C5296 #962C87 #96702C #2C963B
split-complementary
#2C5296 #963B2C #87962C
monochromatic
#101E37 #1E3867 #2C5296 #3A6CC5 #698FD3

Accessibility & contrast

On white

7.62
#2C5296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2C5296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5296
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5296#FFFFFF#000000##FFFFFF
##2C52961.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315999
Deuteranopia (green-blind)
#1D4F95
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c5296;
/* rgb */ color: rgb(44, 82, 150);
/* oklch */ color: oklch(44.8% 0.120 261.0);
Tailwind
colors: {
  custom: {
    50: '#7282b5',
    500: '#2c5296',
    950: '#000000',
  },
}
SCSS
$custom: #2c5296;
$custom-light: #7282b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5296",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 150
  },
  "hsl": {
    "h": 218.491,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44762,
    "c": 0.11968,
    "h": 261
  },
  "luminance": 0.08772
}

Semantic roles & 50–950 ramp

primary
#2C5296
secondary
#BA9B64
accent
#A94ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C5296

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

Preview Lab → · Contrast checker → · Palette generator →

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