#2C5AA4#2C5AA4

#2C5AA4 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 47.5% C 0.130 H 259.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#2C5AA4
RGBrgb(44, 90, 164)
HSLhsl(217, 58%, 41%)
HSVhsv(217, 73%, 64%)
CMYKcmyk(73.2%, 45.1%, 0%, 35.7%)
CIE-LABlab(38.77, 10.45, -44.56)
CIE-LCHlch(38.77, 45.77, 283.19°)
OKLaboklab(47.54% -0.0236 -0.1276)
OKLCHoklch(47.54% 0.13 259.5)
XYZxyz(11.3933, 10.5269, 36.5462)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5AA4 #A4762C
analogous
#2C96A4 #2C5AA4 #3A2CA4
triadic
#2C5AA4 #A42C5A #5AA42C
tetradic
#2C5AA4 #A42C96 #A4762C #2CA43A
square
#2C5AA4 #A42C96 #A4762C #2CA43A
split-complementary
#2C5AA4 #A43A2C #96A42C
monochromatic
#122543 #1F4074 #2C5AA4 #4176CC #7199D9

Accessibility & contrast

On white

6.76
#2C5AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#2C5AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5AA4
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5AA4#FFFFFF#000000##FFFFFF
##2C5AA41.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3561A7
Deuteranopia (green-blind)
#1D56A3
Tritanopia (blue-blind)
#006B77
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2c5aa4;
/* rgb */ color: rgb(44, 90, 164);
/* oklch */ color: oklch(47.5% 0.130 259.5);
Tailwind
colors: {
  custom: {
    50: '#7588bf',
    500: '#2c5aa4',
    950: '#000000',
  },
}
SCSS
$custom: #2c5aa4;
$custom-light: #7588bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5aa4",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 164
  },
  "hsl": {
    "h": 217,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.47538,
    "c": 0.12972,
    "h": 259.5
  },
  "luminance": 0.10528
}

Semantic roles & 50–950 ramp

primary
#2C5AA4
secondary
#C0A06B
accent
#A647E1
background
#F7F8FB
surface
#EEEFF7
border
#C9CAD0
text
#090B12
muted
#7B7C81

Preview Lab

Preview with #2C5AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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