#2C5FC3#2C5FC3

#2C5FC3 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.9% C 0.166 H 262.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#2C5FC3
RGBrgb(44, 95, 195)
HSLhsl(220, 63%, 47%)
HSVhsv(220, 77%, 76%)
CMYKcmyk(77.4%, 51.3%, 0%, 23.5%)
CIE-LABlab(42.24, 19.02, -57.18)
CIE-LCHlch(42.24, 60.26, 288.40°)
OKLaboklab(50.86% -0.0231 -0.1646)
OKLCHoklch(50.86% 0.166 262)
XYZxyz(14.9777, 12.6583, 53.2731)
Luminance0.1266 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5FC3 #C3902C
analogous
#2CABC3 #2C5FC3 #452CC3
triadic
#2C5FC3 #C32C5F #5FC32C
tetradic
#2C5FC3 #C32CAB #C3902C #2CC345
square
#2C5FC3 #C32CAB #C3902C #2CC345
split-complementary
#2C5FC3 #C3452C #ABC32C
monochromatic
#152E5F #214791 #2C5FC3 #5481D8 #86A5E4

Accessibility & contrast

On white

5.95
#2C5FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#2C5FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5FC3
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5FC3#FFFFFF#000000##FFFFFF
##2C5FC31.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6BC7
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#007788
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2c5fc3;
/* rgb */ color: rgb(44, 95, 195);
/* oklch */ color: oklch(50.9% 0.166 262.0);
Tailwind
colors: {
  custom: {
    50: '#7c8bd6',
    500: '#2c5fc3',
    950: '#000000',
  },
}
SCSS
$custom: #2c5fc3;
$custom-light: #7c8bd6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5fc3",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 195
  },
  "hsl": {
    "h": 219.735,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50857,
    "c": 0.1662,
    "h": 262
  },
  "luminance": 0.1266
}

Semantic roles & 50–950 ramp

primary
#2C5FC3
secondary
#CDB27E
accent
#AF42E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0C14
muted
#7C7D83

Preview Lab

Preview with #2C5FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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