#2C5696#2C5696

#2C5696 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.7% C 0.115 H 258.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2C5696
RGBrgb(44, 86, 150)
HSLhsl(216, 55%, 38%)
HSVhsv(216, 71%, 59%)
CMYKcmyk(70.7%, 42.7%, 0%, 41.2%)
CIE-LABlab(36.73, 7.73, -39.43)
CIE-LCHlch(36.73, 40.19, 281.10°)
OKLaboklab(45.68% -0.0226 -0.1126)
OKLCHoklch(45.68% 0.115 258.7)
XYZxyz(9.8695, 9.3920, 30.1410)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5696 #966C2C
analogous
#2C8B96 #2C5696 #372C96
triadic
#2C5696 #962C56 #56962C
tetradic
#2C5696 #962C8B #966C2C #2C9637
square
#2C5696 #962C8B #966C2C #2C9637
split-complementary
#2C5696 #96372C #8B962C
monochromatic
#102037 #1E3B67 #2C5696 #3A71C5 #6993D3

Accessibility & contrast

On white

7.30
#2C5696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2C5696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5696
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5696#FFFFFF#000000##FFFFFF
##2C56961.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C99
Deuteranopia (green-blind)
#265295
Tritanopia (blue-blind)
#00656E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c5696;
/* rgb */ color: rgb(44, 86, 150);
/* oklch */ color: oklch(45.7% 0.115 258.7);
Tailwind
colors: {
  custom: {
    50: '#7285b5',
    500: '#2c5696',
    950: '#000000',
  },
}
SCSS
$custom: #2c5696;
$custom-light: #7285b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5696",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 150
  },
  "hsl": {
    "h": 216.226,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4568,
    "c": 0.11481,
    "h": 258.7
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#2C5696
secondary
#BA9864
accent
#A34ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2C5696

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

Preview Lab → · Contrast checker → · Palette generator →

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