#2C5BCA#2C5BCA

#2C5BCA is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.6% C 0.180 H 263.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#2C5BCA
RGBrgb(44, 91, 202)
HSLhsl(222, 64%, 48%)
HSVhsv(222, 78%, 79%)
CMYKcmyk(78.2%, 55%, 0%, 20.8%)
CIE-LABlab(41.66, 24.27, -62.18)
CIE-LCHlch(41.66, 66.75, 291.33°)
OKLaboklab(50.57% -0.0195 -0.1794)
OKLCHoklch(50.57% 0.18 263.8)
XYZxyz(15.4367, 12.2801, 57.4224)
Luminance0.1228 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5BCA #CA9B2C
analogous
#2CAACA #2C5BCA #4C2CCA
triadic
#2C5BCA #CA2C5B #5BCA2C
tetradic
#2C5BCA #CA2CAA #CA9B2C #2CCA4C
square
#2C5BCA #CA2CAA #CA9B2C #2CCA4C
split-complementary
#2C5BCA #CA4C2C #AACA2C
monochromatic
#162E65 #214498 #2C5BCA #587FDB #8BA6E6

Accessibility & contrast

On white

6.08
#2C5BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2C5BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5BCA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5BCA#FFFFFF#000000##FFFFFF
##2C5BCA1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c5bca;
/* rgb */ color: rgb(44, 91, 202);
/* oklch */ color: oklch(50.6% 0.180 263.8);
Tailwind
colors: {
  custom: {
    50: '#7d88db',
    500: '#2c5bca',
    950: '#000000',
  },
}
SCSS
$custom: #2c5bca;
$custom-light: #7d88db;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5bca",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 222.152,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50571,
    "c": 0.18043,
    "h": 263.8
  },
  "luminance": 0.12282
}

Semantic roles & 50–950 ramp

primary
#2C5BCA
secondary
#D0B982
accent
#B641E7
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2C5BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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