#2C4FB1#2C4FB1

#2C4FB1 is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.1% C 0.161 H 265.5°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2C4FB1
RGBrgb(44, 79, 177)
HSLhsl(224, 60%, 43%)
HSVhsv(224, 75%, 69%)
CMYKcmyk(75.1%, 55.4%, 0%, 30.6%)
CIE-LABlab(36.56, 22.67, -55.85)
CIE-LCHlch(36.56, 60.27, 292.09°)
OKLaboklab(46.13% -0.0126 -0.161)
OKLCHoklch(46.13% 0.161 265.5)
XYZxyz(11.7677, 9.3005, 42.7614)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4FB1 #B18E2C
analogous
#2C91B1 #2C4FB1 #4C2CB1
triadic
#2C4FB1 #B12C4F #4FB12C
tetradic
#2C4FB1 #B12C91 #B18E2C #2CB14C
square
#2C4FB1 #B12C91 #B18E2C #2CB14C
split-complementary
#2C4FB1 #B14C2C #91B12C
monochromatic
#14234F #203980 #2C4FB1 #496DD2 #7A94DE

Accessibility & contrast

On white

7.34
#2C4FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2C4FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4FB1
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4FB1#FFFFFF#000000##FFFFFF
##2C4FB11.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB4
Deuteranopia (green-blind)
#0050AF
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c4fb1;
/* rgb */ color: rgb(44, 79, 177);
/* oklch */ color: oklch(46.1% 0.161 265.5);
Tailwind
colors: {
  custom: {
    50: '#787fc9',
    500: '#2c4fb1',
    950: '#000000',
  },
}
SCSS
$custom: #2c4fb1;
$custom-light: #787fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4fb1",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 177
  },
  "hsl": {
    "h": 224.211,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46132,
    "c": 0.16146,
    "h": 265.5
  },
  "luminance": 0.09302
}

Semantic roles & 50–950 ramp

primary
#2C4FB1
secondary
#C6B073
accent
#BA44E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C4FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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