#2C3196#2C3196

#2C3196 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.0% C 0.162 H 273.5°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2C3196
RGBrgb(44, 49, 150)
HSLhsl(237, 55%, 38%)
HSVhsv(237, 71%, 59%)
CMYKcmyk(70.7%, 67.3%, 0%, 41.2%)
CIE-LABlab(26.54, 32.41, -55.91)
CIE-LCHlch(26.54, 64.63, 300.10°)
OKLaboklab(38% 0.0099 -0.1615)
OKLCHoklch(38% 0.162 273.5)
XYZxyz(7.6402, 4.9334, 29.3978)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3196 #96912C
analogous
#2C6696 #2C3196 #5C2C96
triadic
#2C3196 #962C31 #31962C
tetradic
#2C3196 #962C66 #96912C #2C965C
square
#2C3196 #962C66 #96912C #2C965C
split-complementary
#2C3196 #965C2C #66962C
monochromatic
#101237 #1E2267 #2C3196 #3A41C5 #696ED3

Accessibility & contrast

On white

10.57
#2C3196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2C3196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3196
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3196#FFFFFF#000000##FFFFFF
##2C31961.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2c3196;
/* rgb */ color: rgb(44, 49, 150);
/* oklch */ color: oklch(38.0% 0.162 273.5);
Tailwind
colors: {
  custom: {
    50: '#7469b6',
    500: '#2c3196',
    950: '#000000',
  },
}
SCSS
$custom: #2c3196;
$custom-light: #7469b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3196",
  "rgb": {
    "r": 44,
    "g": 49,
    "b": 150
  },
  "hsl": {
    "h": 237.17,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38003,
    "c": 0.16181,
    "h": 273.5
  },
  "luminance": 0.04934
}

Semantic roles & 50–950 ramp

primary
#2C3196
secondary
#BAB664
accent
#D74ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3196

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

Preview Lab → · Contrast checker → · Palette generator →

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