#2C5CBF#2C5CBF

#2C5CBF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.9% C 0.164 H 262.6°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#2C5CBF
RGBrgb(44, 92, 191)
HSLhsl(220, 63%, 46%)
HSVhsv(220, 77%, 75%)
CMYKcmyk(77%, 51.8%, 0%, 25.1%)
CIE-LABlab(41.14, 19.45, -56.64)
CIE-LCHlch(41.14, 59.89, 288.95°)
OKLaboklab(49.93% -0.0213 -0.1631)
OKLCHoklch(49.93% 0.164 262.6)
XYZxyz(14.2665, 11.9497, 50.8347)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CBF #BF8F2C
analogous
#2CA5BF #2C5CBF #452CBF
triadic
#2C5CBF #BF2C5C #5CBF2C
tetradic
#2C5CBF #BF2CA5 #BF8F2C #2CBF45
square
#2C5CBF #BF2CA5 #BF8F2C #2CBF45
split-complementary
#2C5CBF #BF452C #A5BF2C
monochromatic
#152C5C #21448D #2C5CBF #517DD7 #83A2E2

Accessibility & contrast

On white

6.19
#2C5CBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2C5CBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CBF
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CBF#FFFFFF#000000##FFFFFF
##2C5CBF1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1968C3
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#007484
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2c5cbf;
/* rgb */ color: rgb(44, 92, 191);
/* oklch */ color: oklch(49.9% 0.164 262.6);
Tailwind
colors: {
  custom: {
    50: '#7b89d3',
    500: '#2c5cbf',
    950: '#000000',
  },
}
SCSS
$custom: #2c5cbf;
$custom-light: #7b89d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5cbf",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 191
  },
  "hsl": {
    "h": 220.408,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49925,
    "c": 0.16446,
    "h": 262.6
  },
  "luminance": 0.11951
}

Semantic roles & 50–950 ramp

primary
#2C5CBF
secondary
#CCB17B
accent
#B042E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2C5CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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