#2C4BB1#2C4BB1

#2C4BB1 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.3% C 0.166 H 266.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2C4BB1
RGBrgb(44, 75, 177)
HSLhsl(226, 60%, 43%)
HSVhsv(226, 75%, 69%)
CMYKcmyk(75.1%, 57.6%, 0%, 30.6%)
CIE-LABlab(35.48, 25.31, -57.60)
CIE-LCHlch(35.48, 62.91, 293.73°)
OKLaboklab(45.32% -0.0096 -0.1662)
OKLCHoklch(45.32% 0.166 266.7)
XYZxyz(11.4878, 8.7407, 42.6681)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BB1 #B1922C
analogous
#2C8DB1 #2C4BB1 #4F2CB1
triadic
#2C4BB1 #B12C4B #4BB12C
tetradic
#2C4BB1 #B12C8D #B1922C #2CB14F
square
#2C4BB1 #B12C8D #B1922C #2CB14F
split-complementary
#2C4BB1 #B14F2C #8DB12C
monochromatic
#14214F #203680 #2C4BB1 #4969D2 #7A91DE

Accessibility & contrast

On white

7.64
#2C4BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2C4BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4BB1
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BB1#FFFFFF#000000##FFFFFF
##2C4BB11.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c4bb1;
/* rgb */ color: rgb(44, 75, 177);
/* oklch */ color: oklch(45.3% 0.166 266.7);
Tailwind
colors: {
  custom: {
    50: '#797cc9',
    500: '#2c4bb1',
    950: '#000000',
  },
}
SCSS
$custom: #2c4bb1;
$custom-light: #797cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4bb1",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 177
  },
  "hsl": {
    "h": 226.015,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45323,
    "c": 0.16646,
    "h": 266.7
  },
  "luminance": 0.08742
}

Semantic roles & 50–950 ramp

primary
#2C4BB1
secondary
#C6B373
accent
#BE44E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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