#2C5FC2#2C5FC2

#2C5FC2 is a mid, vivid blue. Relative luminance 0.126; OKLCH L 50.8% C 0.165 H 261.9°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#2C5FC2
RGBrgb(44, 95, 194)
HSLhsl(220, 63%, 47%)
HSVhsv(220, 77%, 76%)
CMYKcmyk(77.3%, 51%, 0%, 23.9%)
CIE-LABlab(42.17, 18.64, -56.71)
CIE-LCHlch(42.17, 59.69, 288.19°)
OKLaboklab(50.78% -0.0232 -0.1632)
OKLCHoklch(50.78% 0.165 261.9)
XYZxyz(14.8650, 12.6132, 52.6796)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5FC2 #C28F2C
analogous
#2CAAC2 #2C5FC2 #442CC2
triadic
#2C5FC2 #C22C5F #5FC22C
tetradic
#2C5FC2 #C22CAA #C28F2C #2CC244
square
#2C5FC2 #C22CAA #C28F2C #2CC244
split-complementary
#2C5FC2 #C2442C #AAC22C
monochromatic
#152E5E #214790 #2C5FC2 #5380D8 #85A5E3

Accessibility & contrast

On white

5.96
#2C5FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#2C5FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5FC2
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5FC2#FFFFFF#000000##FFFFFF
##2C5FC21.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F6BC6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#007787
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c5fc2;
/* rgb */ color: rgb(44, 95, 194);
/* oklch */ color: oklch(50.8% 0.165 261.9);
Tailwind
colors: {
  custom: {
    50: '#7b8bd5',
    500: '#2c5fc2',
    950: '#000000',
  },
}
SCSS
$custom: #2c5fc2;
$custom-light: #7b8bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5fc2",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 194
  },
  "hsl": {
    "h": 219.6,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50782,
    "c": 0.16486,
    "h": 261.9
  },
  "luminance": 0.12615
}

Semantic roles & 50–950 ramp

primary
#2C5FC2
secondary
#CDB27D
accent
#AE42E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2C5FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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