#2C5695#2C5695

#2C5695 is a mid, moderate blue. Relative luminance 0.094; OKLCH L 45.6% C 0.113 H 258.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#2C5695
RGBrgb(44, 86, 149)
HSLhsl(216, 54%, 38%)
HSVhsv(216, 70%, 58%)
CMYKcmyk(70.5%, 42.3%, 0%, 41.6%)
CIE-LABlab(36.67, 7.36, -38.93)
CIE-LCHlch(36.67, 39.62, 280.70°)
OKLaboklab(45.61% -0.0228 -0.1111)
OKLCHoklch(45.61% 0.113 258.4)
XYZxyz(9.7894, 9.3600, 29.7187)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5695 #956B2C
analogous
#2C8A95 #2C5695 #362C95
triadic
#2C5695 #952C56 #56952C
tetradic
#2C5695 #952C8A #956B2C #2C9536
square
#2C5695 #952C8A #956B2C #2C9536
split-complementary
#2C5695 #95362C #8A952C
monochromatic
#101F37 #1E3B66 #2C5695 #3A71C4 #6993D3

Accessibility & contrast

On white

7.31
#2C5695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2C5695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5695
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5695#FFFFFF#000000##FFFFFF
##2C56951.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c5695;
/* rgb */ color: rgb(44, 86, 149);
/* oklch */ color: oklch(45.6% 0.113 258.4);
Tailwind
colors: {
  custom: {
    50: '#7285b4',
    500: '#2c5695',
    950: '#000000',
  },
}
SCSS
$custom: #2c5695;
$custom-light: #7285b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5695",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 149
  },
  "hsl": {
    "h": 216,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45614,
    "c": 0.1134,
    "h": 258.4
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C5695

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

Preview Lab → · Contrast checker → · Palette generator →

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