#2C4196#2C4196

#2C4196 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.1% C 0.142 H 268.8°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2C4196
RGBrgb(44, 65, 150)
HSLhsl(228, 55%, 38%)
HSVhsv(228, 71%, 59%)
CMYKcmyk(70.7%, 56.7%, 0%, 41.2%)
CIE-LABlab(30.68, 21.79, -49.17)
CIE-LCHlch(30.68, 53.78, 293.90°)
OKLaboklab(41.06% -0.0028 -0.1415)
OKLCHoklch(41.06% 0.142 268.8)
XYZxyz(8.4321, 6.5172, 29.6618)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4196 #96812C
analogous
#2C7696 #2C4196 #4C2C96
triadic
#2C4196 #962C41 #41962C
tetradic
#2C4196 #962C76 #96812C #2C964C
square
#2C4196 #962C76 #96812C #2C964C
split-complementary
#2C4196 #964C2C #76962C
monochromatic
#101837 #1E2C67 #2C4196 #3A56C5 #697ED3

Accessibility & contrast

On white

9.12
#2C4196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2C4196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4196
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4196#FFFFFF#000000##FFFFFF
##2C41961.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4196;
/* rgb */ color: rgb(44, 65, 150);
/* oklch */ color: oklch(41.1% 0.142 268.8);
Tailwind
colors: {
  custom: {
    50: '#7375b6',
    500: '#2c4196',
    950: '#000000',
  },
}
SCSS
$custom: #2c4196;
$custom-light: #7375b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4196",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 228.113,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41064,
    "c": 0.14157,
    "h": 268.8
  },
  "luminance": 0.06518
}

Semantic roles & 50–950 ramp

primary
#2C4196
secondary
#BAA964
accent
#C14ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4196

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

Preview Lab → · Contrast checker → · Palette generator →

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