#2C4CB6#2C4CB6

#2C4CB6 is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.9% C 0.172 H 266.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#2C4CB6
RGBrgb(44, 76, 182)
HSLhsl(226, 61%, 44%)
HSVhsv(226, 76%, 71%)
CMYKcmyk(75.8%, 58.2%, 0%, 28.6%)
CIE-LABlab(36.14, 26.54, -59.48)
CIE-LCHlch(36.14, 65.13, 294.05°)
OKLaboklab(45.94% -0.0101 -0.1717)
OKLCHoklch(45.94% 0.172 266.6)
XYZxyz(12.0637, 9.0804, 45.3638)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4CB6 #B6962C
analogous
#2C91B6 #2C4CB6 #512CB6
triadic
#2C4CB6 #B62C4C #4CB62C
tetradic
#2C4CB6 #B62C91 #B6962C #2CB651
square
#2C4CB6 #B62C91 #B6962C #2CB651
split-complementary
#2C4CB6 #B6512C #91B62C
monochromatic
#142353 #203785 #2C4CB6 #4C6BD4 #7D94E0

Accessibility & contrast

On white

7.46
#2C4CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2C4CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4CB6
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4CB6#FFFFFF#000000##FFFFFF
##2C4CB61.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBA
Deuteranopia (green-blind)
#004FB4
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c4cb6;
/* rgb */ color: rgb(44, 76, 182);
/* oklch */ color: oklch(45.9% 0.172 266.6);
Tailwind
colors: {
  custom: {
    50: '#7a7dcd',
    500: '#2c4cb6',
    950: '#000000',
  },
}
SCSS
$custom: #2c4cb6;
$custom-light: #7a7dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4cb6",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 182
  },
  "hsl": {
    "h": 226.087,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4594,
    "c": 0.172,
    "h": 266.6
  },
  "luminance": 0.09082
}

Semantic roles & 50–950 ramp

primary
#2C4CB6
secondary
#C8B576
accent
#BF44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2C4CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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