#2C5692#2C5692

#2C5692 is a mid, moderate blue. Relative luminance 0.093; OKLCH L 45.4% C 0.109 H 257.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#2C5692
RGBrgb(44, 86, 146)
HSLhsl(215, 54%, 37%)
HSVhsv(215, 70%, 57%)
CMYKcmyk(69.9%, 41.1%, 0%, 42.7%)
CIE-LABlab(36.49, 6.22, -37.40)
CIE-LCHlch(36.49, 37.91, 279.44°)
OKLaboklab(45.42% -0.0235 -0.1066)
OKLCHoklch(45.42% 0.109 257.6)
XYZxyz(9.5529, 9.2654, 28.4735)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5692 #92682C
analogous
#2C8992 #2C5692 #352C92
triadic
#2C5692 #922C56 #56922C
tetradic
#2C5692 #922C89 #92682C #2C9235
square
#2C5692 #922C89 #92682C #2C9235
split-complementary
#2C5692 #92352C #89922C
monochromatic
#101F34 #1E3A63 #2C5692 #3A72C1 #6793D1

Accessibility & contrast

On white

7.36
#2C5692 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2C5692 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5692
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5692#FFFFFF#000000##FFFFFF
##2C56921.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c5692;
/* rgb */ color: rgb(44, 86, 146);
/* oklch */ color: oklch(45.4% 0.109 257.6);
Tailwind
colors: {
  custom: {
    50: '#7185b2',
    500: '#2c5692',
    950: '#000000',
  },
}
SCSS
$custom: #2c5692;
$custom-light: #7185b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5692",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 146
  },
  "hsl": {
    "h": 215.294,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45418,
    "c": 0.10915,
    "h": 257.6
  },
  "luminance": 0.09266
}

Semantic roles & 50–950 ramp

primary
#2C5692
secondary
#B89462
accent
#A14BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #2C5692

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

Preview Lab → · Contrast checker → · Palette generator →

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