#2C5CAE#2C5CAE

#2C5CAE is a mid, vivid blue. Relative luminance 0.112; OKLCH L 48.7% C 0.141 H 260.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#2C5CAE
RGBrgb(44, 92, 174)
HSLhsl(218, 60%, 43%)
HSVhsv(218, 75%, 68%)
CMYKcmyk(74.7%, 47.1%, 0%, 31.8%)
CIE-LABlab(39.99, 12.96, -48.53)
CIE-LCHlch(39.99, 50.23, 284.95°)
OKLaboklab(48.68% -0.0236 -0.1392)
OKLCHoklch(48.68% 0.141 260.4)
XYZxyz(12.5031, 11.2444, 41.5476)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5CAE #AE7E2C
analogous
#2C9DAE #2C5CAE #3D2CAE
triadic
#2C5CAE #AE2C5C #5CAE2C
tetradic
#2C5CAE #AE2C9D #AE7E2C #2CAE3D
square
#2C5CAE #AE2C9D #AE7E2C #2CAE3D
split-complementary
#2C5CAE #AE3D2C #9DAE2C
monochromatic
#13284C #20427D #2C5CAE #477AD0 #789DDD

Accessibility & contrast

On white

6.46
#2C5CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#2C5CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C5CAE
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5CAE#FFFFFF#000000##FFFFFF
##2C5CAE1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B1
Deuteranopia (green-blind)
#0F59AC
Tritanopia (blue-blind)
#006F7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2c5cae;
/* rgb */ color: rgb(44, 92, 174);
/* oklch */ color: oklch(48.7% 0.141 260.4);
Tailwind
colors: {
  custom: {
    50: '#7789c7',
    500: '#2c5cae',
    950: '#000000',
  },
}
SCSS
$custom: #2c5cae;
$custom-light: #7789c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5cae",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 174
  },
  "hsl": {
    "h": 217.846,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48681,
    "c": 0.1412,
    "h": 260.4
  },
  "luminance": 0.11246
}

Semantic roles & 50–950 ramp

primary
#2C5CAE
secondary
#C5A671
accent
#A945E3
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2C5CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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