#2C4CB5#2C4CB5

#2C4CB5 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.9% C 0.171 H 266.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#2C4CB5
RGBrgb(44, 76, 181)
HSLhsl(226, 61%, 44%)
HSVhsv(226, 76%, 71%)
CMYKcmyk(75.7%, 58%, 0%, 29%)
CIE-LABlab(36.06, 26.16, -59.02)
CIE-LCHlch(36.06, 64.56, 293.91°)
OKLaboklab(45.86% -0.0101 -0.1703)
OKLCHoklch(45.86% 0.171 266.6)
XYZxyz(11.9607, 9.0392, 44.8215)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4CB5 #B5952C
analogous
#2C91B5 #2C4CB5 #502CB5
triadic
#2C4CB5 #B52C4C #4CB52C
tetradic
#2C4CB5 #B52C91 #B5952C #2CB550
square
#2C4CB5 #B52C91 #B5952C #2CB550
split-complementary
#2C4CB5 #B5502C #91B52C
monochromatic
#142353 #203784 #2C4CB5 #4B6BD3 #7C93DF

Accessibility & contrast

On white

7.48
#2C4CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#2C4CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4CB5
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4CB5#FFFFFF#000000##FFFFFF
##2C4CB51.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c4cb5;
/* rgb */ color: rgb(44, 76, 181);
/* oklch */ color: oklch(45.9% 0.171 266.6);
Tailwind
colors: {
  custom: {
    50: '#797dcc',
    500: '#2c4cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2c4cb5;
$custom-light: #797dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4cb5",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 181
  },
  "hsl": {
    "h": 225.985,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45856,
    "c": 0.17064,
    "h": 266.6
  },
  "luminance": 0.09041
}

Semantic roles & 50–950 ramp

primary
#2C4CB5
secondary
#C8B475
accent
#BF44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2C4CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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