#2C5592#2C5592

#2C5592 is a mid, moderate blue. Relative luminance 0.091; OKLCH L 45.2% C 0.110 H 258.2°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2C5592
RGBrgb(44, 85, 146)
HSLhsl(216, 54%, 37%)
HSVhsv(216, 70%, 57%)
CMYKcmyk(69.9%, 41.8%, 0%, 42.7%)
CIE-LABlab(36.19, 6.87, -37.88)
CIE-LCHlch(36.19, 38.49, 280.29°)
OKLaboklab(45.18% -0.0225 -0.108)
OKLCHoklch(45.18% 0.11 258.2)
XYZxyz(9.4736, 9.1068, 28.4471)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5592 #92692C
analogous
#2C8892 #2C5592 #362C92
triadic
#2C5592 #922C55 #55922C
tetradic
#2C5592 #922C88 #92692C #2C9236
square
#2C5592 #922C88 #92692C #2C9236
split-complementary
#2C5592 #92362C #88922C
monochromatic
#101E34 #1E3A63 #2C5592 #3A70C1 #6792D1

Accessibility & contrast

On white

7.44
#2C5592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2C5592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5592
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5592#FFFFFF#000000##FFFFFF
##2C55921.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395A94
Deuteranopia (green-blind)
#295191
Tritanopia (blue-blind)
#00636C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c5592;
/* rgb */ color: rgb(44, 85, 146);
/* oklch */ color: oklch(45.2% 0.110 258.2);
Tailwind
colors: {
  custom: {
    50: '#7184b2',
    500: '#2c5592',
    950: '#000000',
  },
}
SCSS
$custom: #2c5592;
$custom-light: #7184b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5592",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 146
  },
  "hsl": {
    "h": 215.882,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45184,
    "c": 0.11032,
    "h": 258.2
  },
  "luminance": 0.09108
}

Semantic roles & 50–950 ramp

primary
#2C5592
secondary
#B89562
accent
#A24BDD
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C5592

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

Preview Lab → · Contrast checker → · Palette generator →

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