#2C5092#2C5092

#2C5092 is a dark, moderate blue. Relative luminance 0.083; OKLCH L 44.0% C 0.116 H 261.4°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#2C5092
RGBrgb(44, 80, 146)
HSLhsl(219, 54%, 37%)
HSVhsv(219, 70%, 57%)
CMYKcmyk(69.9%, 45.2%, 0%, 42.7%)
CIE-LABlab(34.70, 10.17, -40.26)
CIE-LCHlch(34.70, 41.52, 284.18°)
OKLaboklab(44.03% -0.0174 -0.1151)
OKLCHoklch(44.03% 0.116 261.4)
XYZxyz(9.0938, 8.3472, 28.3205)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5092 #926E2C
analogous
#2C8392 #2C5092 #3B2C92
triadic
#2C5092 #922C50 #50922C
tetradic
#2C5092 #922C83 #926E2C #2C923B
square
#2C5092 #922C83 #926E2C #2C923B
split-complementary
#2C5092 #923B2C #83922C
monochromatic
#101C34 #1E3663 #2C5092 #3A6AC1 #678DD1

Accessibility & contrast

On white

7.87
#2C5092 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2C5092 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5092
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5092#FFFFFF#000000##FFFFFF
##2C50921.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305795
Deuteranopia (green-blind)
#1E4D91
Tritanopia (blue-blind)
#005F6A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c5092;
/* rgb */ color: rgb(44, 80, 146);
/* oklch */ color: oklch(44.0% 0.116 261.4);
Tailwind
colors: {
  custom: {
    50: '#7180b2',
    500: '#2c5092',
    950: '#000000',
  },
}
SCSS
$custom: #2c5092;
$custom-light: #7180b2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5092",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 146
  },
  "hsl": {
    "h": 218.824,
    "s": 53.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4403,
    "c": 0.11641,
    "h": 261.4
  },
  "luminance": 0.08348
}

Semantic roles & 50–950 ramp

primary
#2C5092
secondary
#B89A62
accent
#A94BDD
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C5092

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

Preview Lab → · Contrast checker → · Palette generator →

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