#2C5AB5#2C5AB5

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

Color values

HEX#2C5AB5
RGBrgb(44, 90, 181)
HSLhsl(220, 61%, 44%)
HSVhsv(220, 76%, 71%)
CMYKcmyk(75.7%, 50.3%, 0%, 29%)
CIE-LABlab(39.89, 16.94, -52.82)
CIE-LCHlch(39.89, 55.47, 287.78°)
OKLaboklab(48.75% -0.0209 -0.1519)
OKLCHoklch(48.75% 0.153 262.2)
XYZxyz(13.0324, 11.1825, 45.1787)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5AB5 #B5872C
analogous
#2C9FB5 #2C5AB5 #432CB5
triadic
#2C5AB5 #B52C5A #5AB52C
tetradic
#2C5AB5 #B52C9F #B5872C #2CB543
square
#2C5AB5 #B52C9F #B5872C #2CB543
split-complementary
#2C5AB5 #B5432C #9FB52C
monochromatic
#142953 #204284 #2C5AB5 #4B79D3 #7C9DDF

Accessibility & contrast

On white

6.49
#2C5AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#2C5AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5AB5
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5AB5#FFFFFF#000000##FFFFFF
##2C5AB51.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2365B8
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#00707F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c5ab5;
/* rgb */ color: rgb(44, 90, 181);
/* oklch */ color: oklch(48.8% 0.153 262.2);
Tailwind
colors: {
  custom: {
    50: '#7988cc',
    500: '#2c5ab5',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ab5;
$custom-light: #7988cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ab5",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 181
  },
  "hsl": {
    "h": 219.854,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48751,
    "c": 0.15329,
    "h": 262.2
  },
  "luminance": 0.11184
}

Semantic roles & 50–950 ramp

primary
#2C5AB5
secondary
#C8AC75
accent
#AE44E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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