#2C4B96#2C4B96

#2C4B96 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.2% C 0.129 H 264.7°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2C4B96
RGBrgb(44, 75, 150)
HSLhsl(222, 55%, 38%)
HSVhsv(222, 71%, 59%)
CMYKcmyk(70.7%, 50%, 0%, 41.2%)
CIE-LABlab(33.50, 15.04, -44.62)
CIE-LCHlch(33.50, 47.08, 288.63°)
OKLaboklab(43.2% -0.0119 -0.128)
OKLCHoklch(43.2% 0.129 264.7)
XYZxyz(9.0579, 7.7687, 29.8704)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B96 #96772C
analogous
#2C8096 #2C4B96 #422C96
triadic
#2C4B96 #962C4B #4B962C
tetradic
#2C4B96 #962C80 #96772C #2C9642
square
#2C4B96 #962C80 #96772C #2C9642
split-complementary
#2C4B96 #96422C #80962C
monochromatic
#101C37 #1E3367 #2C4B96 #3A63C5 #6988D3

Accessibility & contrast

On white

8.22
#2C4B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2C4B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4B96
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B96#FFFFFF#000000##FFFFFF
##2C4B961.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215499
Deuteranopia (green-blind)
#014A94
Tritanopia (blue-blind)
#005D69
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c4b96;
/* rgb */ color: rgb(44, 75, 150);
/* oklch */ color: oklch(43.2% 0.129 264.7);
Tailwind
colors: {
  custom: {
    50: '#727cb5',
    500: '#2c4b96',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b96;
$custom-light: #727cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b96",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 150
  },
  "hsl": {
    "h": 222.453,
    "s": 54.639,
    "l": 38.039
  },
  "oklch": {
    "l": 0.43195,
    "c": 0.12854,
    "h": 264.7
  },
  "luminance": 0.0777
}

Semantic roles & 50–950 ramp

primary
#2C4B96
secondary
#BAA164
accent
#B34ADE
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2C4B96

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

Preview Lab → · Contrast checker → · Palette generator →

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