#2C5CA4#2C5CA4

#2C5CA4 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.0% C 0.127 H 258.5°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2C5CA4
RGBrgb(44, 92, 164)
HSLhsl(216, 58%, 41%)
HSVhsv(216, 73%, 64%)
CMYKcmyk(73.2%, 43.9%, 0%, 35.7%)
CIE-LABlab(39.36, 9.14, -43.62)
CIE-LCHlch(39.36, 44.57, 281.84°)
OKLaboklab(47.99% -0.0254 -0.1248)
OKLCHoklch(47.99% 0.127 258.5)
XYZxyz(11.5643, 10.8688, 36.6032)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CA4 #A4742C
analogous
#2C98A4 #2C5CA4 #382CA4
triadic
#2C5CA4 #A42C5C #5CA42C
tetradic
#2C5CA4 #A42C98 #A4742C #2CA438
square
#2C5CA4 #A42C98 #A4742C #2CA438
split-complementary
#2C5CA4 #A4382C #98A42C
monochromatic
#122643 #1F4174 #2C5CA4 #4179CC #719BD9

Accessibility & contrast

On white

6.62
#2C5CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2C5CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CA4
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CA4#FFFFFF#000000##FFFFFF
##2C5CA41.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3963A7
Deuteranopia (green-blind)
#2358A3
Tritanopia (blue-blind)
#006D78
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5ca4;
/* rgb */ color: rgb(44, 92, 164);
/* oklch */ color: oklch(48.0% 0.127 258.5);
Tailwind
colors: {
  custom: {
    50: '#7589bf',
    500: '#2c5ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ca4;
$custom-light: #7589bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ca4",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 164
  },
  "hsl": {
    "h": 216,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47991,
    "c": 0.12733,
    "h": 258.5
  },
  "luminance": 0.1087
}

Semantic roles & 50–950 ramp

primary
#2C5CA4
secondary
#C09E6B
accent
#A347E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C5CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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