#2C5AB6#2C5AB6

#2C5AB6 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.8% C 0.155 H 262.3°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#2C5AB6
RGBrgb(44, 90, 182)
HSLhsl(220, 61%, 44%)
HSVhsv(220, 76%, 71%)
CMYKcmyk(75.8%, 50.5%, 0%, 28.6%)
CIE-LABlab(39.95, 17.32, -53.29)
CIE-LCHlch(39.95, 56.04, 288.01°)
OKLaboklab(48.83% -0.0208 -0.1533)
OKLCHoklch(48.83% 0.155 262.3)
XYZxyz(13.1353, 11.2237, 45.7210)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5AB6 #B6882C
analogous
#2C9FB6 #2C5AB6 #432CB6
triadic
#2C5AB6 #B62C5A #5AB62C
tetradic
#2C5AB6 #B62C9F #B6882C #2CB643
square
#2C5AB6 #B62C9F #B6882C #2CB643
split-complementary
#2C5AB6 #B6432C #9FB62C
monochromatic
#142953 #204285 #2C5AB6 #4C79D4 #7D9EE0

Accessibility & contrast

On white

6.47
#2C5AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2C5AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5AB6
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5AB6#FFFFFF#000000##FFFFFF
##2C5AB61.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2265B9
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c5ab6;
/* rgb */ color: rgb(44, 90, 182);
/* oklch */ color: oklch(48.8% 0.155 262.3);
Tailwind
colors: {
  custom: {
    50: '#7988cc',
    500: '#2c5ab6',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ab6;
$custom-light: #7988cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ab6",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 182
  },
  "hsl": {
    "h": 220,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.48825,
    "c": 0.15466,
    "h": 262.3
  },
  "luminance": 0.11225
}

Semantic roles & 50–950 ramp

primary
#2C5AB6
secondary
#C8AD76
accent
#AF44E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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