#2C5094#2C5094

#2C5094 is a dark, moderate blue. Relative luminance 0.084; OKLCH L 44.2% C 0.119 H 261.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#2C5094
RGBrgb(44, 80, 148)
HSLhsl(219, 54%, 38%)
HSVhsv(219, 70%, 58%)
CMYKcmyk(70.3%, 45.9%, 0%, 42%)
CIE-LABlab(34.82, 10.93, -41.27)
CIE-LCHlch(34.82, 42.69, 284.84°)
OKLaboklab(44.17% -0.017 -0.1181)
OKLCHoklch(44.17% 0.119 261.8)
XYZxyz(9.2508, 8.4100, 29.1470)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5094 #94702C
analogous
#2C8494 #2C5094 #3C2C94
triadic
#2C5094 #942C50 #50942C
tetradic
#2C5094 #942C84 #94702C #2C943C
square
#2C5094 #942C84 #94702C #2C943C
split-complementary
#2C5094 #943C2C #84942C
monochromatic
#101D36 #1E3665 #2C5094 #3A69C3 #688DD2

Accessibility & contrast

On white

7.83
#2C5094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2C5094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5094
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5094#FFFFFF#000000##FFFFFF
##2C50941.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5797
Deuteranopia (green-blind)
#1B4D93
Tritanopia (blue-blind)
#00606B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c5094;
/* rgb */ color: rgb(44, 80, 148);
/* oklch */ color: oklch(44.2% 0.119 261.8);
Tailwind
colors: {
  custom: {
    50: '#7280b4',
    500: '#2c5094',
    950: '#000000',
  },
}
SCSS
$custom: #2c5094;
$custom-light: #7280b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5094",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 148
  },
  "hsl": {
    "h": 219.231,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44168,
    "c": 0.11929,
    "h": 261.8
  },
  "luminance": 0.08411
}

Semantic roles & 50–950 ramp

primary
#2C5094
secondary
#B99B63
accent
#AB4ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C5094

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

Preview Lab → · Contrast checker → · Palette generator →

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