#2C4FB6#2C4FB6

#2C4FB6 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.5% C 0.168 H 265.8°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#2C4FB6
RGBrgb(44, 79, 182)
HSLhsl(225, 61%, 44%)
HSVhsv(225, 76%, 71%)
CMYKcmyk(75.8%, 56.6%, 0%, 28.6%)
CIE-LABlab(36.94, 24.56, -58.18)
CIE-LCHlch(36.94, 63.16, 292.89°)
OKLaboklab(46.54% -0.0123 -0.1678)
OKLCHoklch(46.54% 0.168 265.8)
XYZxyz(12.2752, 9.5035, 45.4343)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4FB6 #B6932C
analogous
#2C94B6 #2C4FB6 #4E2CB6
triadic
#2C4FB6 #B62C4F #4FB62C
tetradic
#2C4FB6 #B62C94 #B6932C #2CB64E
square
#2C4FB6 #B62C94 #B6932C #2CB64E
split-complementary
#2C4FB6 #B64E2C #94B62C
monochromatic
#142453 #203A85 #2C4FB6 #4C6ED4 #7D96E0

Accessibility & contrast

On white

7.24
#2C4FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2C4FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4FB6
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4FB6#FFFFFF#000000##FFFFFF
##2C4FB61.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBA
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#00697A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c4fb6;
/* rgb */ color: rgb(44, 79, 182);
/* oklch */ color: oklch(46.5% 0.168 265.8);
Tailwind
colors: {
  custom: {
    50: '#797fcd',
    500: '#2c4fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2c4fb6;
$custom-light: #797fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4fb6",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 182
  },
  "hsl": {
    "h": 224.783,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46538,
    "c": 0.16829,
    "h": 265.8
  },
  "luminance": 0.09505
}

Semantic roles & 50–950 ramp

primary
#2C4FB6
secondary
#C8B376
accent
#BB44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A13
muted
#7C7C82

Preview Lab

Preview with #2C4FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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