#2C5AB4#2C5AB4

#2C5AB4 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.7% C 0.152 H 262.0°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2C5AB4
RGBrgb(44, 90, 180)
HSLhsl(220, 61%, 44%)
HSVhsv(220, 76%, 71%)
CMYKcmyk(75.6%, 50%, 0%, 29.4%)
CIE-LABlab(39.82, 16.56, -52.34)
CIE-LCHlch(39.82, 54.90, 287.56°)
OKLaboklab(48.68% -0.021 -0.1504)
OKLCHoklch(48.68% 0.152 262)
XYZxyz(12.9301, 11.1416, 44.6403)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5AB4 #B4862C
analogous
#2C9EB4 #2C5AB4 #422CB4
triadic
#2C5AB4 #B42C5A #5AB42C
tetradic
#2C5AB4 #B42C9E #B4862C #2CB442
square
#2C5AB4 #B42C9E #B4862C #2CB442
split-complementary
#2C5AB4 #B4422C #9EB42C
monochromatic
#142952 #204183 #2C5AB4 #4A79D3 #7C9DDF

Accessibility & contrast

On white

6.50
#2C5AB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#2C5AB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5AB4
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5AB4#FFFFFF#000000##FFFFFF
##2C5AB41.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2464B7
Deuteranopia (green-blind)
#0058B2
Tritanopia (blue-blind)
#00707E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c5ab4;
/* rgb */ color: rgb(44, 90, 180);
/* oklch */ color: oklch(48.7% 0.152 262.0);
Tailwind
colors: {
  custom: {
    50: '#7888cb',
    500: '#2c5ab4',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ab4;
$custom-light: #7888cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ab4",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 180
  },
  "hsl": {
    "h": 219.706,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48677,
    "c": 0.15191,
    "h": 262
  },
  "luminance": 0.11143
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C5AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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