#2C5BB4#2C5BB4

#2C5BB4 is a mid, vivid blue. Relative luminance 0.113; OKLCH L 48.9% C 0.151 H 261.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#2C5BB4
RGBrgb(44, 91, 180)
HSLhsl(219, 61%, 44%)
HSVhsv(219, 76%, 71%)
CMYKcmyk(75.6%, 49.4%, 0%, 29.4%)
CIE-LABlab(40.10, 15.90, -51.88)
CIE-LCHlch(40.10, 54.27, 287.04°)
OKLaboklab(48.89% -0.0218 -0.1491)
OKLCHoklch(48.89% 0.151 261.7)
XYZxyz(13.0150, 11.3115, 44.6686)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5BB4 #B4852C
analogous
#2C9FB4 #2C5BB4 #412CB4
triadic
#2C5BB4 #B42C5B #5BB42C
tetradic
#2C5BB4 #B42C9F #B4852C #2CB441
square
#2C5BB4 #B42C9F #B4852C #2CB441
split-complementary
#2C5BB4 #B4412C #9FB42C
monochromatic
#142952 #204283 #2C5BB4 #4A7AD3 #7C9EDF

Accessibility & contrast

On white

6.44
#2C5BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#2C5BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5BB4
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5BB4#FFFFFF#000000##FFFFFF
##2C5BB41.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2765B7
Deuteranopia (green-blind)
#0059B2
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c5bb4;
/* rgb */ color: rgb(44, 91, 180);
/* oklch */ color: oklch(48.9% 0.151 261.7);
Tailwind
colors: {
  custom: {
    50: '#7888cb',
    500: '#2c5bb4',
    950: '#000000',
  },
}
SCSS
$custom: #2c5bb4;
$custom-light: #7888cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5bb4",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 180
  },
  "hsl": {
    "h": 219.265,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48893,
    "c": 0.15069,
    "h": 261.7
  },
  "luminance": 0.11313
}

Semantic roles & 50–950 ramp

primary
#2C5BB4
secondary
#C7AB75
accent
#AD44E4
background
#F7F8FC
surface
#EEEFF9
border
#C9CAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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