#2C5CC3#2C5CC3

#2C5CC3 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.2% C 0.170 H 263.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#2C5CC3
RGBrgb(44, 92, 195)
HSLhsl(221, 63%, 47%)
HSVhsv(221, 77%, 76%)
CMYKcmyk(77.4%, 52.8%, 0%, 23.5%)
CIE-LABlab(41.42, 20.97, -58.51)
CIE-LCHlch(41.42, 62.15, 289.72°)
OKLaboklab(50.23% -0.0208 -0.1686)
OKLCHoklch(50.23% 0.17 263)
XYZxyz(14.7127, 12.1282, 53.1847)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CC3 #C3932C
analogous
#2CA8C3 #2C5CC3 #472CC3
triadic
#2C5CC3 #C32C5C #5CC32C
tetradic
#2C5CC3 #C32CA8 #C3932C #2CC347
square
#2C5CC3 #C32CA8 #C3932C #2CC347
split-complementary
#2C5CC3 #C3472C #A8C32C
monochromatic
#152D5F #214491 #2C5CC3 #547ED8 #86A4E4

Accessibility & contrast

On white

6.13
#2C5CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#2C5CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CC3
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CC3#FFFFFF#000000##FFFFFF
##2C5CC31.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F69C7
Deuteranopia (green-blind)
#005BC1
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c5cc3;
/* rgb */ color: rgb(44, 92, 195);
/* oklch */ color: oklch(50.2% 0.170 263.0);
Tailwind
colors: {
  custom: {
    50: '#7c89d6',
    500: '#2c5cc3',
    950: '#000000',
  },
}
SCSS
$custom: #2c5cc3;
$custom-light: #7c89d6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5cc3",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 195
  },
  "hsl": {
    "h": 220.927,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5023,
    "c": 0.16986,
    "h": 263
  },
  "luminance": 0.1213
}

Semantic roles & 50–950 ramp

primary
#2C5CC3
secondary
#CDB47E
accent
#B242E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2C5CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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