#2C4CB2#2C4CB2

#2C4CB2 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.6% C 0.167 H 266.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#2C4CB2
RGBrgb(44, 76, 178)
HSLhsl(226, 60%, 44%)
HSVhsv(226, 75%, 70%)
CMYKcmyk(75.3%, 57.3%, 0%, 30.2%)
CIE-LABlab(35.82, 25.03, -57.63)
CIE-LCHlch(35.82, 62.83, 293.48°)
OKLaboklab(45.61% -0.0103 -0.1663)
OKLCHoklch(45.61% 0.167 266.5)
XYZxyz(11.6562, 8.9174, 43.2178)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4CB2 #B2922C
analogous
#2C8FB2 #2C4CB2 #4F2CB2
triadic
#2C4CB2 #B22C4C #4CB22C
tetradic
#2C4CB2 #B22C8F #B2922C #2CB24F
square
#2C4CB2 #B22C8F #B2922C #2CB24F
split-complementary
#2C4CB2 #B24F2C #8FB22C
monochromatic
#142250 #203781 #2C4CB2 #496AD2 #7A92DE

Accessibility & contrast

On white

7.54
#2C4CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2C4CB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4CB2
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4CB2#FFFFFF#000000##FFFFFF
##2C4CB21.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB5
Deuteranopia (green-blind)
#004EB0
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c4cb2;
/* rgb */ color: rgb(44, 76, 178);
/* oklch */ color: oklch(45.6% 0.167 266.5);
Tailwind
colors: {
  custom: {
    50: '#797dca',
    500: '#2c4cb2',
    950: '#000000',
  },
}
SCSS
$custom: #2c4cb2;
$custom-light: #797dca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4cb2",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 225.672,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45606,
    "c": 0.16658,
    "h": 266.5
  },
  "luminance": 0.08919
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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