#2C4696#2C4696

#2C4696 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.1% C 0.135 H 266.9°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2C4696
RGBrgb(44, 70, 150)
HSLhsl(225, 55%, 38%)
HSVhsv(225, 71%, 59%)
CMYKcmyk(70.7%, 53.3%, 0%, 41.2%)
CIE-LABlab(32.07, 18.41, -46.91)
CIE-LCHlch(32.07, 50.40, 291.42°)
OKLaboklab(42.11% -0.0073 -0.1348)
OKLCHoklch(42.11% 0.135 266.9)
XYZxyz(8.7320, 7.1169, 29.7618)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4696 #967C2C
analogous
#2C7B96 #2C4696 #472C96
triadic
#2C4696 #962C46 #46962C
tetradic
#2C4696 #962C7B #967C2C #2C9647
square
#2C4696 #962C7B #967C2C #2C9647
split-complementary
#2C4696 #96472C #7B962C
monochromatic
#101A37 #1E3067 #2C4696 #3A5CC5 #6983D3

Accessibility & contrast

On white

8.66
#2C4696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2C4696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4696
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4696#FFFFFF#000000##FFFFFF
##2C46961.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115199
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#005967
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c4696;
/* rgb */ color: rgb(44, 70, 150);
/* oklch */ color: oklch(42.1% 0.135 266.9);
Tailwind
colors: {
  custom: {
    50: '#7379b5',
    500: '#2c4696',
    950: '#000000',
  },
}
SCSS
$custom: #2c4696;
$custom-light: #7379b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4696",
  "rgb": {
    "r": 44,
    "g": 70,
    "b": 150
  },
  "hsl": {
    "h": 225.283,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42112,
    "c": 0.13504,
    "h": 266.9
  },
  "luminance": 0.07118
}

Semantic roles & 50–950 ramp

primary
#2C4696
secondary
#BAA564
accent
#BA4ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4696

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

Preview Lab → · Contrast checker → · Palette generator →

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