#2C5CA7#2C5CA7

#2C5CA7 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.2% C 0.132 H 259.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#2C5CA7
RGBrgb(44, 92, 167)
HSLhsl(217, 58%, 41%)
HSVhsv(217, 74%, 65%)
CMYKcmyk(73.7%, 44.9%, 0%, 34.5%)
CIE-LABlab(39.54, 10.29, -45.10)
CIE-LCHlch(39.54, 46.26, 282.85°)
OKLaboklab(48.2% -0.0249 -0.1291)
OKLCHoklch(48.2% 0.132 259.1)
XYZxyz(11.8384, 10.9785, 38.0469)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CA7 #A7772C
analogous
#2C9AA7 #2C5CA7 #392CA7
triadic
#2C5CA7 #A72C5C #5CA72C
tetradic
#2C5CA7 #A72C9A #A7772C #2CA739
square
#2C5CA7 #A72C9A #A7772C #2CA739
split-complementary
#2C5CA7 #A7392C #9AA72C
monochromatic
#122746 #1F4177 #2C5CA7 #4379CD #739BDA

Accessibility & contrast

On white

6.57
#2C5CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2C5CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CA7
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CA7#FFFFFF#000000##FFFFFF
##2C5CA71.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3663AA
Deuteranopia (green-blind)
#1E58A5
Tritanopia (blue-blind)
#006E79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5ca7;
/* rgb */ color: rgb(44, 92, 167);
/* oklch */ color: oklch(48.2% 0.132 259.1);
Tailwind
colors: {
  custom: {
    50: '#7689c1',
    500: '#2c5ca7',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ca7;
$custom-light: #7689c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ca7",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 167
  },
  "hsl": {
    "h": 216.585,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48195,
    "c": 0.1315,
    "h": 259.1
  },
  "luminance": 0.1098
}

Semantic roles & 50–950 ramp

primary
#2C5CA7
secondary
#C2A16D
accent
#A546E2
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#0A0B12
muted
#7C7C81

Preview Lab

Preview with #2C5CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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