#2C5192#2C5192

#2C5192 is a dark, moderate blue. Relative luminance 0.085; OKLCH L 44.3% C 0.115 H 260.8°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#2C5192
RGBrgb(44, 81, 146)
HSLhsl(218, 54%, 37%)
HSVhsv(218, 70%, 57%)
CMYKcmyk(69.9%, 44.5%, 0%, 42.7%)
CIE-LABlab(34.99, 9.51, -39.79)
CIE-LCHlch(34.99, 40.91, 283.44°)
OKLaboklab(44.26% -0.0184 -0.1137)
OKLCHoklch(44.26% 0.115 260.8)
XYZxyz(9.1676, 8.4947, 28.3451)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5192 #926D2C
analogous
#2C8492 #2C5192 #3A2C92
triadic
#2C5192 #922C51 #51922C
tetradic
#2C5192 #922C84 #926D2C #2C923A
square
#2C5192 #922C84 #926D2C #2C923A
split-complementary
#2C5192 #923A2C #84922C
monochromatic
#101D34 #1E3763 #2C5192 #3A6BC1 #678ED1

Accessibility & contrast

On white

7.78
#2C5192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2C5192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5192
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5192#FFFFFF#000000##FFFFFF
##2C51921.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325794
Deuteranopia (green-blind)
#204E91
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c5192;
/* rgb */ color: rgb(44, 81, 146);
/* oklch */ color: oklch(44.3% 0.115 260.8);
Tailwind
colors: {
  custom: {
    50: '#7181b2',
    500: '#2c5192',
    950: '#000000',
  },
}
SCSS
$custom: #2c5192;
$custom-light: #7181b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5192",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 146
  },
  "hsl": {
    "h": 218.235,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44259,
    "c": 0.11517,
    "h": 260.8
  },
  "luminance": 0.08496
}

Semantic roles & 50–950 ramp

primary
#2C5192
secondary
#B89962
accent
#A84BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C5192

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

Preview Lab → · Contrast checker → · Palette generator →

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