#2C4CAE#2C4CAE

#2C4CAE is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.3% C 0.161 H 266.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2C4CAE
RGBrgb(44, 76, 174)
HSLhsl(225, 60%, 43%)
HSVhsv(225, 75%, 68%)
CMYKcmyk(74.7%, 56.3%, 0%, 31.8%)
CIE-LABlab(35.52, 23.52, -55.76)
CIE-LCHlch(35.52, 60.52, 292.87°)
OKLaboklab(45.28% -0.0105 -0.1608)
OKLCHoklch(45.28% 0.161 266.3)
XYZxyz(11.2605, 8.7591, 41.1334)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4CAE #AE8E2C
analogous
#2C8DAE #2C4CAE #4D2CAE
triadic
#2C4CAE #AE2C4C #4CAE2C
tetradic
#2C4CAE #AE2C8D #AE8E2C #2CAE4D
square
#2C4CAE #AE2C8D #AE8E2C #2CAE4D
split-complementary
#2C4CAE #AE4D2C #8DAE2C
monochromatic
#13214C #20377D #2C4CAE #4769D0 #7891DD

Accessibility & contrast

On white

7.63
#2C4CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2C4CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4CAE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4CAE#FFFFFF#000000##FFFFFF
##2C4CAE1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB1
Deuteranopia (green-blind)
#004EAC
Tritanopia (blue-blind)
#006475
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c4cae;
/* rgb */ color: rgb(44, 76, 174);
/* oklch */ color: oklch(45.3% 0.161 266.3);
Tailwind
colors: {
  custom: {
    50: '#787dc7',
    500: '#2c4cae',
    950: '#000000',
  },
}
SCSS
$custom: #2c4cae;
$custom-light: #787dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4cae",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 225.231,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45277,
    "c": 0.1611,
    "h": 266.3
  },
  "luminance": 0.0876
}

Semantic roles & 50–950 ramp

primary
#2C4CAE
secondary
#C5B071
accent
#BC45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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