#2C4096#2C4096

#2C4096 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 40.9% C 0.143 H 269.2°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#2C4096
RGBrgb(44, 64, 150)
HSLhsl(229, 55%, 38%)
HSVhsv(229, 71%, 59%)
CMYKcmyk(70.7%, 57.3%, 0%, 41.2%)
CIE-LABlab(30.41, 22.46, -49.61)
CIE-LCHlch(30.41, 54.46, 294.36°)
OKLaboklab(40.86% -0.002 -0.1429)
OKLCHoklch(40.86% 0.143 269.2)
XYZxyz(8.3752, 6.4034, 29.6429)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4096 #96822C
analogous
#2C7596 #2C4096 #4D2C96
triadic
#2C4096 #962C40 #40962C
tetradic
#2C4096 #962C75 #96822C #2C964D
square
#2C4096 #962C75 #96822C #2C964D
split-complementary
#2C4096 #964D2C #75962C
monochromatic
#101837 #1E2C67 #2C4096 #3A54C5 #697DD3

Accessibility & contrast

On white

9.21
#2C4096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2C4096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4096
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4096#FFFFFF#000000##FFFFFF
##2C40961.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D99
Deuteranopia (green-blind)
#004394
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c4096;
/* rgb */ color: rgb(44, 64, 150);
/* oklch */ color: oklch(40.9% 0.143 269.2);
Tailwind
colors: {
  custom: {
    50: '#7374b6',
    500: '#2c4096',
    950: '#000000',
  },
}
SCSS
$custom: #2c4096;
$custom-light: #7374b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4096",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 150
  },
  "hsl": {
    "h": 228.679,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.40859,
    "c": 0.14287,
    "h": 269.2
  },
  "luminance": 0.06404
}

Semantic roles & 50–950 ramp

primary
#2C4096
secondary
#BAAA64
accent
#C24ADE
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #2C4096

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

Preview Lab → · Contrast checker → · Palette generator →

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