#2C3696#2C3696

#2C3696 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.156 H 272.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#2C3696
RGBrgb(44, 54, 150)
HSLhsl(234, 55%, 38%)
HSVhsv(234, 71%, 59%)
CMYKcmyk(70.7%, 64%, 0%, 41.2%)
CIE-LABlab(27.78, 29.15, -53.89)
CIE-LCHlch(27.78, 61.27, 298.41°)
OKLaboklab(38.91% 0.0062 -0.1556)
OKLCHoklch(38.91% 0.156 272.3)
XYZxyz(7.8610, 5.3751, 29.4715)
Luminance0.0538 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3696 #968C2C
analogous
#2C6B96 #2C3696 #572C96
triadic
#2C3696 #962C36 #36962C
tetradic
#2C3696 #962C6B #968C2C #2C9657
square
#2C3696 #962C6B #968C2C #2C9657
split-complementary
#2C3696 #96572C #6B962C
monochromatic
#101437 #1E2567 #2C3696 #3A47C5 #6973D3

Accessibility & contrast

On white

10.12
#2C3696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2C3696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3696
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3696#FFFFFF#000000##FFFFFF
##2C36961.0010.122.0810.12
#FFFFFF10.121.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003D94
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2c3696;
/* rgb */ color: rgb(44, 54, 150);
/* oklch */ color: oklch(38.9% 0.156 272.3);
Tailwind
colors: {
  custom: {
    50: '#746db6',
    500: '#2c3696',
    950: '#000000',
  },
}
SCSS
$custom: #2c3696;
$custom-light: #746db6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3696",
  "rgb": {
    "r": 44,
    "g": 54,
    "b": 150
  },
  "hsl": {
    "h": 234.34,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38905,
    "c": 0.15568,
    "h": 272.3
  },
  "luminance": 0.05376
}

Semantic roles & 50–950 ramp

primary
#2C3696
secondary
#BAB264
accent
#D04ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2C3696

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

Preview Lab → · Contrast checker → · Palette generator →

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