#2C5691#2C5691

#2C5691 is a mid, moderate blue. Relative luminance 0.092; OKLCH L 45.4% C 0.108 H 257.3°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#2C5691
RGBrgb(44, 86, 145)
HSLhsl(215, 53%, 37%)
HSVhsv(215, 70%, 57%)
CMYKcmyk(69.7%, 40.7%, 0%, 43.1%)
CIE-LABlab(36.43, 5.84, -36.88)
CIE-LCHlch(36.43, 37.34, 279.00°)
OKLaboklab(45.35% -0.0237 -0.1051)
OKLCHoklch(45.35% 0.108 257.3)
XYZxyz(9.4755, 9.2344, 28.0656)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5691 #91672C
analogous
#2C8891 #2C5691 #352C91
triadic
#2C5691 #912C56 #56912C
tetradic
#2C5691 #912C88 #91672C #2C9135
square
#2C5691 #912C88 #91672C #2C9135
split-complementary
#2C5691 #91352C #88912C
monochromatic
#101E33 #1E3A62 #2C5691 #3A72C0 #6793D1

Accessibility & contrast

On white

7.38
#2C5691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5691
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5691#FFFFFF#000000##FFFFFF
##2C56911.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5B93
Deuteranopia (green-blind)
#2C5190
Tritanopia (blue-blind)
#00646C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c5691;
/* rgb */ color: rgb(44, 86, 145);
/* oklch */ color: oklch(45.4% 0.108 257.3);
Tailwind
colors: {
  custom: {
    50: '#7185b1',
    500: '#2c5691',
    950: '#000000',
  },
}
SCSS
$custom: #2c5691;
$custom-light: #7185b1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5691",
  "rgb": {
    "r": 44,
    "g": 86,
    "b": 145
  },
  "hsl": {
    "h": 215.05,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45353,
    "c": 0.10773,
    "h": 257.3
  },
  "luminance": 0.09235
}

Semantic roles & 50–950 ramp

primary
#2C5691
secondary
#B79462
accent
#A04BDD
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#080B11
muted
#7B7C80

Preview Lab

Preview with #2C5691

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

Preview Lab → · Contrast checker → · Palette generator →

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