#2C5BB0#2C5BB0

#2C5BB0 is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.6% C 0.145 H 261.1°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#2C5BB0
RGBrgb(44, 91, 176)
HSLhsl(219, 60%, 43%)
HSVhsv(219, 75%, 69%)
CMYKcmyk(75%, 48.3%, 0%, 31%)
CIE-LABlab(39.83, 14.38, -49.96)
CIE-LCHlch(39.83, 51.99, 286.05°)
OKLaboklab(48.6% -0.0224 -0.1434)
OKLCHoklch(48.6% 0.145 261.1)
XYZxyz(12.6134, 11.1508, 42.5534)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5BB0 #B0812C
analogous
#2C9DB0 #2C5BB0 #3F2CB0
triadic
#2C5BB0 #B02C5B #5BB02C
tetradic
#2C5BB0 #B02C9D #B0812C #2CB03F
square
#2C5BB0 #B02C9D #B0812C #2CB03F
split-complementary
#2C5BB0 #B03F2C #9DB02C
monochromatic
#14284E #20427F #2C5BB0 #4879D1 #799DDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C5BB0#FFFFFF#000000##FFFFFF
##2C5BB01.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)
#2C64B3
Deuteranopia (green-blind)
#0158AE
Tritanopia (blue-blind)
#006F7D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c5bb0;
/* rgb */ color: rgb(44, 91, 176);
/* oklch */ color: oklch(48.6% 0.145 261.1);
Tailwind
colors: {
  custom: {
    50: '#7788c8',
    500: '#2c5bb0',
    950: '#000000',
  },
}
SCSS
$custom: #2c5bb0;
$custom-light: #7788c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5bb0",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 176
  },
  "hsl": {
    "h": 218.636,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48603,
    "c": 0.14518,
    "h": 261.1
  },
  "luminance": 0.11152
}

Semantic roles & 50–950 ramp

primary
#2C5BB0
secondary
#C6A872
accent
#AB45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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