#2C4396#2C4396

#2C4396 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.5% C 0.139 H 268.1°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#2C4396
RGBrgb(44, 67, 150)
HSLhsl(227, 55%, 38%)
HSVhsv(227, 71%, 59%)
CMYKcmyk(70.7%, 55.3%, 0%, 41.2%)
CIE-LABlab(31.23, 20.43, -48.27)
CIE-LCHlch(31.23, 52.42, 292.94°)
OKLaboklab(41.48% -0.0046 -0.1389)
OKLCHoklch(41.48% 0.139 268.1)
XYZxyz(8.5490, 6.7509, 29.7008)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4396 #967F2C
analogous
#2C7896 #2C4396 #4A2C96
triadic
#2C4396 #962C43 #43962C
tetradic
#2C4396 #962C78 #967F2C #2C964A
square
#2C4396 #962C78 #967F2C #2C964A
split-complementary
#2C4396 #964A2C #78962C
monochromatic
#101937 #1E2E67 #2C4396 #3A58C5 #6980D3

Accessibility & contrast

On white

8.93
#2C4396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2C4396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4396
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4396#FFFFFF#000000##FFFFFF
##2C43961.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014F99
Deuteranopia (green-blind)
#004594
Tritanopia (blue-blind)
#005766
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c4396;
/* rgb */ color: rgb(44, 67, 150);
/* oklch */ color: oklch(41.5% 0.139 268.1);
Tailwind
colors: {
  custom: {
    50: '#7376b5',
    500: '#2c4396',
    950: '#000000',
  },
}
SCSS
$custom: #2c4396;
$custom-light: #7376b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4396",
  "rgb": {
    "r": 44,
    "g": 67,
    "b": 150
  },
  "hsl": {
    "h": 226.981,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.41478,
    "c": 0.13896,
    "h": 268.1
  },
  "luminance": 0.06752
}

Semantic roles & 50–950 ramp

primary
#2C4396
secondary
#BAA764
accent
#BE4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4396

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

Preview Lab → · Contrast checker → · Palette generator →

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