#2C5AAE#2C5AAE

#2C5AAE is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.2% C 0.144 H 261.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2C5AAE
RGBrgb(44, 90, 174)
HSLhsl(219, 60%, 43%)
HSVhsv(219, 75%, 68%)
CMYKcmyk(74.7%, 48.3%, 0%, 31.8%)
CIE-LABlab(39.42, 14.27, -49.45)
CIE-LCHlch(39.42, 51.47, 286.09°)
OKLaboklab(48.24% -0.0219 -0.142)
OKLCHoklch(48.24% 0.144 261.2)
XYZxyz(12.3321, 10.9024, 41.4906)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5AAE #AE802C
analogous
#2C9BAE #2C5AAE #3F2CAE
triadic
#2C5AAE #AE2C5A #5AAE2C
tetradic
#2C5AAE #AE2C9B #AE802C #2CAE3F
square
#2C5AAE #AE2C9B #AE802C #2CAE3F
split-complementary
#2C5AAE #AE3F2C #9BAE2C
monochromatic
#13274C #20417D #2C5AAE #4777D0 #789BDD

Accessibility & contrast

On white

6.60
#2C5AAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2C5AAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5AAE
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5AAE#FFFFFF#000000##FFFFFF
##2C5AAE1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C63B1
Deuteranopia (green-blind)
#0257AC
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2c5aae;
/* rgb */ color: rgb(44, 90, 174);
/* oklch */ color: oklch(48.2% 0.144 261.2);
Tailwind
colors: {
  custom: {
    50: '#7788c7',
    500: '#2c5aae',
    950: '#000000',
  },
}
SCSS
$custom: #2c5aae;
$custom-light: #7788c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5aae",
  "rgb": {
    "r": 44,
    "g": 90,
    "b": 174
  },
  "hsl": {
    "h": 218.769,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.4824,
    "c": 0.14364,
    "h": 261.2
  },
  "luminance": 0.10904
}

Semantic roles & 50–950 ramp

primary
#2C5AAE
secondary
#C5A771
accent
#AB45E3
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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