#2C5DC3#2C5DC3

#2C5DC3 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.169 H 262.6°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2C5DC3
RGBrgb(44, 93, 195)
HSLhsl(221, 63%, 47%)
HSVhsv(221, 77%, 76%)
CMYKcmyk(77.4%, 52.3%, 0%, 23.5%)
CIE-LABlab(41.69, 20.32, -58.07)
CIE-LCHlch(41.69, 61.52, 289.28°)
OKLaboklab(50.44% -0.0216 -0.1672)
OKLCHoklch(50.44% 0.169 262.6)
XYZxyz(14.7999, 12.3026, 53.2138)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5DC3 #C3922C
analogous
#2CA9C3 #2C5DC3 #472CC3
triadic
#2C5DC3 #C32C5D #5DC32C
tetradic
#2C5DC3 #C32CA9 #C3922C #2CC347
square
#2C5DC3 #C32CA9 #C3922C #2CC347
split-complementary
#2C5DC3 #C3472C #A9C32C
monochromatic
#152D5F #214591 #2C5DC3 #547FD8 #86A4E4

Accessibility & contrast

On white

6.07
#2C5DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2C5DC3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5DC3#FFFFFF#000000##FFFFFF
##2C5DC31.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156AC7
Deuteranopia (green-blind)
#005CC1
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2c5dc3;
/* rgb */ color: rgb(44, 93, 195);
/* oklch */ color: oklch(50.4% 0.169 262.6);
Tailwind
colors: {
  custom: {
    50: '#7c8ad6',
    500: '#2c5dc3',
    950: '#000000',
  },
}
SCSS
$custom: #2c5dc3;
$custom-light: #7c8ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5dc3",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 195
  },
  "hsl": {
    "h": 220.53,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50438,
    "c": 0.16864,
    "h": 262.6
  },
  "luminance": 0.12304
}

Semantic roles & 50–950 ramp

primary
#2C5DC3
secondary
#CDB37E
accent
#B142E6
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2C5DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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