#2C4FB3#2C4FB3

#2C4FB3 is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.3% C 0.164 H 265.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2C4FB3
RGBrgb(44, 79, 179)
HSLhsl(224, 61%, 44%)
HSVhsv(224, 75%, 70%)
CMYKcmyk(75.4%, 55.9%, 0%, 29.8%)
CIE-LABlab(36.71, 23.43, -56.79)
CIE-LCHlch(36.71, 61.43, 292.42°)
OKLaboklab(46.29% -0.0124 -0.1637)
OKLCHoklch(46.29% 0.164 265.7)
XYZxyz(11.9685, 9.3808, 43.8190)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4FB3 #B3902C
analogous
#2C92B3 #2C4FB3 #4C2CB3
triadic
#2C4FB3 #B32C4F #4FB32C
tetradic
#2C4FB3 #B32C92 #B3902C #2CB34C
square
#2C4FB3 #B32C92 #B3902C #2CB34C
split-complementary
#2C4FB3 #B34C2C #92B32C
monochromatic
#142451 #203982 #2C4FB3 #4A6DD2 #7B95DF

Accessibility & contrast

On white

7.30
#2C4FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2C4FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4FB3
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4FB3#FFFFFF#000000##FFFFFF
##2C4FB31.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#0050B1
Tritanopia (blue-blind)
#006879
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c4fb3;
/* rgb */ color: rgb(44, 79, 179);
/* oklch */ color: oklch(46.3% 0.164 265.7);
Tailwind
colors: {
  custom: {
    50: '#797fca',
    500: '#2c4fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2c4fb3;
$custom-light: #797fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4fb3",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 224.444,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46294,
    "c": 0.1642,
    "h": 265.7
  },
  "luminance": 0.09382
}

Semantic roles & 50–950 ramp

primary
#2C4FB3
secondary
#C7B174
accent
#BA44E4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C4FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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