#2C5BBC#2C5BBC

#2C5BBC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 49.5% C 0.162 H 262.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#2C5BBC
RGBrgb(44, 91, 188)
HSLhsl(220, 62%, 45%)
HSVhsv(220, 77%, 74%)
CMYKcmyk(76.6%, 51.6%, 0%, 26.3%)
CIE-LABlab(40.65, 18.96, -55.68)
CIE-LCHlch(40.65, 58.82, 288.80°)
OKLaboklab(49.49% -0.0208 -0.1603)
OKLCHoklch(49.49% 0.162 262.6)
XYZxyz(13.8536, 11.6469, 49.0851)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5BBC #BC8D2C
analogous
#2CA3BC #2C5BBC #452CBC
triadic
#2C5BBC #BC2C5B #5BBC2C
tetradic
#2C5BBC #BC2CA3 #BC8D2C #2CBC45
square
#2C5BBC #BC2CA3 #BC8D2C #2CBC45
split-complementary
#2C5BBC #BC452C #A3BC2C
monochromatic
#152B59 #20438A #2C5BBC #4F7BD6 #81A0E1

Accessibility & contrast

On white

6.31
#2C5BBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#2C5BBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5BBC
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5BBC#FFFFFF#000000##FFFFFF
##2C5BBC1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B67BF
Deuteranopia (green-blind)
#005ABA
Tritanopia (blue-blind)
#007283
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2c5bbc;
/* rgb */ color: rgb(44, 91, 188);
/* oklch */ color: oklch(49.5% 0.162 262.6);
Tailwind
colors: {
  custom: {
    50: '#7a88d1',
    500: '#2c5bbc',
    950: '#000000',
  },
}
SCSS
$custom: #2c5bbc;
$custom-light: #7a88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5bbc",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 188
  },
  "hsl": {
    "h": 220.417,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49487,
    "c": 0.16162,
    "h": 262.6
  },
  "luminance": 0.11648
}

Semantic roles & 50–950 ramp

primary
#2C5BBC
secondary
#CAB079
accent
#B043E5
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2C5BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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