#2C5697#2C5697

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

Color values

HEX#2C5697
RGBrgb(44, 86, 151)
HSLhsl(216, 55%, 38%)
HSVhsv(216, 71%, 59%)
CMYKcmyk(70.9%, 43%, 0%, 40.8%)
CIE-LABlab(36.79, 8.11, -39.94)
CIE-LCHlch(36.79, 40.76, 281.48°)
OKLaboklab(45.75% -0.0224 -0.1141)
OKLCHoklch(45.75% 0.116 258.9)
XYZxyz(9.9504, 9.4244, 30.5668)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5697 #976D2C
analogous
#2C8B97 #2C5697 #382C97
triadic
#2C5697 #972C56 #56972C
tetradic
#2C5697 #972C8B #976D2C #2C9738
square
#2C5697 #972C8B #976D2C #2C9738
split-complementary
#2C5697 #97382C #8B972C
monochromatic
#102038 #1E3B68 #2C5697 #3A71C6 #6A93D4

Accessibility & contrast

On white

7.28
#2C5697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2C5697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5697
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5697#FFFFFF#000000##FFFFFF
##2C56971.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375C9A
Deuteranopia (green-blind)
#255296
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c5697;
/* rgb */ color: rgb(44, 86, 151);
/* oklch */ color: oklch(45.7% 0.116 258.9);
Tailwind
colors: {
  custom: {
    50: '#7285b6',
    500: '#2c5697',
    950: '#000000',
  },
}
SCSS
$custom: #2c5697;
$custom-light: #7285b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5697",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 216.449,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45746,
    "c": 0.11623,
    "h": 258.9
  },
  "luminance": 0.09425
}

Semantic roles & 50–950 ramp

primary
#2C5697
secondary
#BA9965
accent
#A44ADE
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2C5697

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

Preview Lab → · Contrast checker → · Palette generator →

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