#2C5CA6#2C5CA6

#2C5CA6 is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.1% C 0.130 H 258.9°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#2C5CA6
RGBrgb(44, 92, 166)
HSLhsl(216, 58%, 41%)
HSVhsv(216, 73%, 65%)
CMYKcmyk(73.5%, 44.6%, 0%, 34.9%)
CIE-LABlab(39.48, 9.91, -44.61)
CIE-LCHlch(39.48, 45.70, 282.52°)
OKLaboklab(48.13% -0.025 -0.1277)
OKLCHoklch(48.13% 0.13 258.9)
XYZxyz(11.7463, 10.9417, 37.5619)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CA6 #A6762C
analogous
#2C99A6 #2C5CA6 #392CA6
triadic
#2C5CA6 #A62C5C #5CA62C
tetradic
#2C5CA6 #A62C99 #A6762C #2CA639
square
#2C5CA6 #A62C99 #A6762C #2CA639
split-complementary
#2C5CA6 #A6392C #99A62C
monochromatic
#122645 #1F4176 #2C5CA6 #4279CD #739BDA

Accessibility & contrast

On white

6.59
#2C5CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2C5CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CA6
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CA6#FFFFFF#000000##FFFFFF
##2C5CA61.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3763A9
Deuteranopia (green-blind)
#2058A5
Tritanopia (blue-blind)
#006D79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5ca6;
/* rgb */ color: rgb(44, 92, 166);
/* oklch */ color: oklch(48.1% 0.130 258.9);
Tailwind
colors: {
  custom: {
    50: '#7589c1',
    500: '#2c5ca6',
    950: '#000000',
  },
}
SCSS
$custom: #2c5ca6;
$custom-light: #7589c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5ca6",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 166
  },
  "hsl": {
    "h": 216.393,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48127,
    "c": 0.13011,
    "h": 258.9
  },
  "luminance": 0.10943
}

Semantic roles & 50–950 ramp

primary
#2C5CA6
secondary
#C1A06D
accent
#A446E1
background
#F7F8FB
surface
#EEF0F7
border
#C9CBD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C5CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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