#2C4186#2C4186

#2C4186 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.8% C 0.118 H 268.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#2C4186
RGBrgb(44, 65, 134)
HSLhsl(226, 51%, 35%)
HSVhsv(226, 67%, 53%)
CMYKcmyk(67.2%, 51.5%, 0%, 47.5%)
CIE-LABlab(29.50, 15.72, -41.23)
CIE-LCHlch(29.50, 44.12, 290.87°)
OKLaboklab(39.8% -0.0042 -0.1182)
OKLCHoklch(39.8% 0.118 268)
XYZxyz(7.2306, 6.0366, 23.3338)
Luminance0.0604 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4186 #86712C
analogous
#2C6E86 #2C4186 #442C86
triadic
#2C4186 #862C41 #41862C
tetradic
#2C4186 #862C6E #86712C #2C8644
square
#2C4186 #862C6E #86712C #2C8644
split-complementary
#2C4186 #86442C #6E862C
monochromatic
#0E142A #1D2B58 #2C4186 #3B57B4 #617ACB

Accessibility & contrast

On white

9.51
#2C4186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2C4186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4186
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4186#FFFFFF#000000##FFFFFF
##2C41861.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A88
Deuteranopia (green-blind)
#014285
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c4186;
/* rgb */ color: rgb(44, 65, 134);
/* oklch */ color: oklch(39.8% 0.118 268.0);
Tailwind
colors: {
  custom: {
    50: '#7075aa',
    500: '#2c4186',
    950: '#000000',
  },
}
SCSS
$custom: #2c4186;
$custom-light: #7075aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4186",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 134
  },
  "hsl": {
    "h": 226,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39801,
    "c": 0.11826,
    "h": 268
  },
  "luminance": 0.06037
}

Semantic roles & 50–950 ramp

primary
#2C4186
secondary
#B19E5C
accent
#B94EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2C4186

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

Preview Lab → · Contrast checker → · Palette generator →

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