#2C3296#2C3296

#2C3296 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.161 H 273.3°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2C3296
RGBrgb(44, 50, 150)
HSLhsl(237, 55%, 38%)
HSVhsv(237, 71%, 59%)
CMYKcmyk(70.7%, 66.7%, 0%, 41.2%)
CIE-LABlab(26.79, 31.76, -55.52)
CIE-LCHlch(26.79, 63.96, 299.77°)
OKLaboklab(38.18% 0.0092 -0.1603)
OKLCHoklch(38.18% 0.161 273.3)
XYZxyz(7.6825, 5.0180, 29.4119)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3296 #96902C
analogous
#2C6796 #2C3296 #5B2C96
triadic
#2C3296 #962C32 #32962C
tetradic
#2C3296 #962C67 #96902C #2C965B
square
#2C3296 #962C67 #96902C #2C965B
split-complementary
#2C3296 #965B2C #67962C
monochromatic
#101237 #1E2267 #2C3296 #3A42C5 #696FD3

Accessibility & contrast

On white

10.48
#2C3296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2C3296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3296
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3296#FFFFFF#000000##FFFFFF
##2C32961.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.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: #2c3296;
/* rgb */ color: rgb(44, 50, 150);
/* oklch */ color: oklch(38.2% 0.161 273.3);
Tailwind
colors: {
  custom: {
    50: '#746ab6',
    500: '#2c3296',
    950: '#000000',
  },
}
SCSS
$custom: #2c3296;
$custom-light: #746ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3296",
  "rgb": {
    "r": 44,
    "g": 50,
    "b": 150
  },
  "hsl": {
    "h": 236.604,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38179,
    "c": 0.1606,
    "h": 273.3
  },
  "luminance": 0.05019
}

Semantic roles & 50–950 ramp

primary
#2C3296
secondary
#BAB564
accent
#D64ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #2C3296

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

Preview Lab → · Contrast checker → · Palette generator →

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