#2C4FB9#2C4FB9

#2C4FB9 is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.8% C 0.172 H 266.0°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#2C4FB9
RGBrgb(44, 79, 185)
HSLhsl(225, 62%, 45%)
HSVhsv(225, 76%, 73%)
CMYKcmyk(76.2%, 57.3%, 0%, 27.5%)
CIE-LABlab(37.17, 25.70, -59.57)
CIE-LCHlch(37.17, 64.88, 293.33°)
OKLaboklab(46.79% -0.0121 -0.1719)
OKLCHoklch(46.79% 0.172 266)
XYZxyz(12.5886, 9.6288, 47.0846)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4FB9 #B9962C
analogous
#2C96B9 #2C4FB9 #4F2CB9
triadic
#2C4FB9 #B92C4F #4FB92C
tetradic
#2C4FB9 #B92C96 #B9962C #2CB94F
square
#2C4FB9 #B92C96 #B9962C #2CB94F
split-complementary
#2C4FB9 #B94F2C #96B92C
monochromatic
#142556 #203A88 #2C4FB9 #4D6FD5 #7F97E1

Accessibility & contrast

On white

7.18
#2C4FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2C4FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4FB9
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4FB9#FFFFFF#000000##FFFFFF
##2C4FB91.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c4fb9;
/* rgb */ color: rgb(44, 79, 185);
/* oklch */ color: oklch(46.8% 0.172 266.0);
Tailwind
colors: {
  custom: {
    50: '#7a7fcf',
    500: '#2c4fb9',
    950: '#000000',
  },
}
SCSS
$custom: #2c4fb9;
$custom-light: #7a7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4fb9",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 185
  },
  "hsl": {
    "h": 225.106,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46785,
    "c": 0.17235,
    "h": 266
  },
  "luminance": 0.0963
}

Semantic roles & 50–950 ramp

primary
#2C4FB9
secondary
#C9B578
accent
#BD43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2C4FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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