#2C5CBC#2C5CBC

#2C5CBC is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.7% C 0.160 H 262.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2C5CBC
RGBrgb(44, 92, 188)
HSLhsl(220, 62%, 45%)
HSVhsv(220, 77%, 74%)
CMYKcmyk(76.6%, 51.1%, 0%, 26.3%)
CIE-LABlab(40.93, 18.30, -55.23)
CIE-LCHlch(40.93, 58.19, 288.33°)
OKLaboklab(49.7% -0.0216 -0.1589)
OKLCHoklch(49.7% 0.16 262.3)
XYZxyz(13.9397, 11.8190, 49.1138)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CBC #BC8C2C
analogous
#2CA4BC #2C5CBC #442CBC
triadic
#2C5CBC #BC2C5C #5CBC2C
tetradic
#2C5CBC #BC2CA4 #BC8C2C #2CBC44
square
#2C5CBC #BC2CA4 #BC8C2C #2CBC44
split-complementary
#2C5CBC #BC442C #A4BC2C
monochromatic
#152B59 #20448A #2C5CBC #4F7CD6 #81A1E1

Accessibility & contrast

On white

6.24
#2C5CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2C5CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CBC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CBC#FFFFFF#000000##FFFFFF
##2C5CBC1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c5cbc;
/* rgb */ color: rgb(44, 92, 188);
/* oklch */ color: oklch(49.7% 0.160 262.3);
Tailwind
colors: {
  custom: {
    50: '#7a89d1',
    500: '#2c5cbc',
    950: '#000000',
  },
}
SCSS
$custom: #2c5cbc;
$custom-light: #7a89d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5cbc",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 188
  },
  "hsl": {
    "h": 220,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49699,
    "c": 0.16039,
    "h": 262.3
  },
  "luminance": 0.11821
}

Semantic roles & 50–950 ramp

primary
#2C5CBC
secondary
#CAAF79
accent
#AF43E5
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2C5CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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