#2C5394#2C5394

#2C5394 is a dark, moderate blue. Relative luminance 0.089; OKLCH L 44.9% C 0.116 H 260.0°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#2C5394
RGBrgb(44, 83, 148)
HSLhsl(218, 54%, 38%)
HSVhsv(218, 70%, 58%)
CMYKcmyk(70.3%, 43.9%, 0%, 42%)
CIE-LABlab(35.71, 8.95, -39.85)
CIE-LCHlch(35.71, 40.84, 282.65°)
OKLaboklab(44.85% -0.02 -0.1138)
OKLCHoklch(44.85% 0.116 260)
XYZxyz(9.4753, 8.8591, 29.2219)
Luminance0.0886 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5394 #946D2C
analogous
#2C8794 #2C5394 #392C94
triadic
#2C5394 #942C53 #53942C
tetradic
#2C5394 #942C87 #946D2C #2C9439
square
#2C5394 #942C87 #946D2C #2C9439
split-complementary
#2C5394 #94392C #87942C
monochromatic
#101E36 #1E3965 #2C5394 #3A6DC3 #6890D2

Accessibility & contrast

On white

7.58
#2C5394 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#2C5394 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5394
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5394#FFFFFF#000000##FFFFFF
##2C53941.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345997
Deuteranopia (green-blind)
#225093
Tritanopia (blue-blind)
#00626C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c5394;
/* rgb */ color: rgb(44, 83, 148);
/* oklch */ color: oklch(44.9% 0.116 260.0);
Tailwind
colors: {
  custom: {
    50: '#7282b4',
    500: '#2c5394',
    950: '#000000',
  },
}
SCSS
$custom: #2c5394;
$custom-light: #7282b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5394",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 148
  },
  "hsl": {
    "h": 217.5,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44854,
    "c": 0.11559,
    "h": 260
  },
  "luminance": 0.0886
}

Semantic roles & 50–950 ramp

primary
#2C5394
secondary
#B99963
accent
#A64ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #2C5394

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

Preview Lab → · Contrast checker → · Palette generator →

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