#2C4FB5#2C4FB5

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

Color values

HEX#2C4FB5
RGBrgb(44, 79, 181)
HSLhsl(225, 61%, 44%)
HSVhsv(225, 76%, 71%)
CMYKcmyk(75.7%, 56.4%, 0%, 29%)
CIE-LABlab(36.86, 24.18, -57.72)
CIE-LCHlch(36.86, 62.58, 292.73°)
OKLaboklab(46.46% -0.0123 -0.1665)
OKLCHoklch(46.46% 0.167 265.8)
XYZxyz(12.1722, 9.4623, 44.8920)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4FB5 #B5922C
analogous
#2C94B5 #2C4FB5 #4E2CB5
triadic
#2C4FB5 #B52C4F #4FB52C
tetradic
#2C4FB5 #B52C94 #B5922C #2CB54E
square
#2C4FB5 #B52C94 #B5922C #2CB54E
split-complementary
#2C4FB5 #B54E2C #94B52C
monochromatic
#142453 #203A84 #2C4FB5 #4B6ED3 #7C95DF

Accessibility & contrast

On white

7.26
#2C4FB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#2C4FB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4FB5
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4FB5#FFFFFF#000000##FFFFFF
##2C4FB51.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#0051B3
Tritanopia (blue-blind)
#00687A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c4fb5;
/* rgb */ color: rgb(44, 79, 181);
/* oklch */ color: oklch(46.5% 0.167 265.8);
Tailwind
colors: {
  custom: {
    50: '#797fcc',
    500: '#2c4fb5',
    950: '#000000',
  },
}
SCSS
$custom: #2c4fb5;
$custom-light: #797fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4fb5",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 181
  },
  "hsl": {
    "h": 224.672,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46456,
    "c": 0.16693,
    "h": 265.8
  },
  "luminance": 0.09464
}

Semantic roles & 50–950 ramp

primary
#2C4FB5
secondary
#C8B375
accent
#BB44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C4FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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