#2C5693#2C5693

#2C5693 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.5% C 0.111 H 257.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2C5693
RGBrgb(44, 86, 147)
HSLhsl(216, 54%, 37%)
HSVhsv(216, 70%, 58%)
CMYKcmyk(70.1%, 41.5%, 0%, 42.4%)
CIE-LABlab(36.55, 6.60, -37.91)
CIE-LCHlch(36.55, 38.48, 279.87°)
OKLaboklab(45.48% -0.0233 -0.1081)
OKLCHoklch(45.48% 0.111 257.9)
XYZxyz(9.6311, 9.2966, 28.8850)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5693 #93692C
analogous
#2C8A93 #2C5693 #352C93
triadic
#2C5693 #932C56 #56932C
tetradic
#2C5693 #932C8A #93692C #2C9335
square
#2C5693 #932C8A #93692C #2C9335
split-complementary
#2C5693 #93352C #8A932C
monochromatic
#101F35 #1E3A64 #2C5693 #3A72C2 #6893D2

Accessibility & contrast

On white

7.34
#2C5693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2C5693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5693
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5693#FFFFFF#000000##FFFFFF
##2C56931.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5B95
Deuteranopia (green-blind)
#2A5292
Tritanopia (blue-blind)
#00646D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c5693;
/* rgb */ color: rgb(44, 86, 147);
/* oklch */ color: oklch(45.5% 0.111 257.9);
Tailwind
colors: {
  custom: {
    50: '#7285b3',
    500: '#2c5693',
    950: '#000000',
  },
}
SCSS
$custom: #2c5693;
$custom-light: #7285b3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5693",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 147
  },
  "hsl": {
    "h": 215.534,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45483,
    "c": 0.11056,
    "h": 257.9
  },
  "luminance": 0.09298
}

Semantic roles & 50–950 ramp

primary
#2C5693
secondary
#B89563
accent
#A14ADD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2C5693

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

Preview Lab → · Contrast checker → · Palette generator →

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