#2C5BB6#2C5BB6

#2C5BB6 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.0% C 0.153 H 261.9°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#2C5BB6
RGBrgb(44, 91, 182)
HSLhsl(220, 61%, 44%)
HSVhsv(220, 76%, 71%)
CMYKcmyk(75.8%, 50%, 0%, 28.6%)
CIE-LABlab(40.24, 16.67, -52.84)
CIE-LCHlch(40.24, 55.41, 287.51°)
OKLaboklab(49.04% -0.0216 -0.1519)
OKLCHoklch(49.04% 0.153 261.9)
XYZxyz(13.2203, 11.3936, 45.7493)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5BB6 #B6872C
analogous
#2CA0B6 #2C5BB6 #422CB6
triadic
#2C5BB6 #B62C5B #5BB62C
tetradic
#2C5BB6 #B62CA0 #B6872C #2CB642
square
#2C5BB6 #B62CA0 #B6872C #2CB642
split-complementary
#2C5BB6 #B6422C #A0B62C
monochromatic
#142A53 #204285 #2C5BB6 #4C7AD4 #7D9EE0

Accessibility & contrast

On white

6.40
#2C5BB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2C5BB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5BB6
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5BB6#FFFFFF#000000##FFFFFF
##2C5BB61.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2566B9
Deuteranopia (green-blind)
#0059B4
Tritanopia (blue-blind)
#007180
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2c5bb6;
/* rgb */ color: rgb(44, 91, 182);
/* oklch */ color: oklch(49.0% 0.153 261.9);
Tailwind
colors: {
  custom: {
    50: '#7988cc',
    500: '#2c5bb6',
    950: '#000000',
  },
}
SCSS
$custom: #2c5bb6;
$custom-light: #7988cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5bb6",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 182
  },
  "hsl": {
    "h": 219.565,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4904,
    "c": 0.15343,
    "h": 261.9
  },
  "luminance": 0.11395
}

Semantic roles & 50–950 ramp

primary
#2C5BB6
secondary
#C8AC76
accent
#AD44E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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