#2C5392#2C5392

#2C5392 is a dark, moderate blue. Relative luminance 0.088; OKLCH L 44.7% C 0.113 H 259.6°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#2C5392
RGBrgb(44, 83, 146)
HSLhsl(217, 54%, 37%)
HSVhsv(217, 70%, 57%)
CMYKcmyk(69.9%, 43.2%, 0%, 42.7%)
CIE-LABlab(35.59, 8.19, -38.83)
CIE-LCHlch(35.59, 39.69, 281.90°)
OKLaboklab(44.72% -0.0204 -0.1108)
OKLCHoklch(44.72% 0.113 259.6)
XYZxyz(9.3184, 8.7964, 28.3953)
Luminance0.0880 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5392 #926B2C
analogous
#2C8692 #2C5392 #382C92
triadic
#2C5392 #922C53 #53922C
tetradic
#2C5392 #922C86 #926B2C #2C9238
square
#2C5392 #922C86 #926B2C #2C9238
split-complementary
#2C5392 #92382C #86922C
monochromatic
#101E34 #1E3863 #2C5392 #3A6EC1 #6790D1

Accessibility & contrast

On white

7.61
#2C5392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2C5392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5392
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5392#FFFFFF#000000##FFFFFF
##2C53921.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355994
Deuteranopia (green-blind)
#254F91
Tritanopia (blue-blind)
#00626B
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c5392;
/* rgb */ color: rgb(44, 83, 146);
/* oklch */ color: oklch(44.7% 0.113 259.6);
Tailwind
colors: {
  custom: {
    50: '#7182b2',
    500: '#2c5392',
    950: '#000000',
  },
}
SCSS
$custom: #2c5392;
$custom-light: #7182b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5392",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 146
  },
  "hsl": {
    "h": 217.059,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4472,
    "c": 0.11272,
    "h": 259.6
  },
  "luminance": 0.08797
}

Semantic roles & 50–950 ramp

primary
#2C5392
secondary
#B89762
accent
#A54BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C5392

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

Preview Lab → · Contrast checker → · Palette generator →

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