#2C4FAE#2C4FAE

#2C4FAE is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.9% C 0.157 H 265.3°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#2C4FAE
RGBrgb(44, 79, 174)
HSLhsl(224, 60%, 43%)
HSVhsv(224, 75%, 68%)
CMYKcmyk(74.7%, 54.6%, 0%, 31.8%)
CIE-LABlab(36.33, 21.53, -54.43)
CIE-LCHlch(36.33, 58.54, 291.58°)
OKLaboklab(45.89% -0.0128 -0.1568)
OKLCHoklch(45.89% 0.157 265.3)
XYZxyz(11.4720, 9.1822, 41.2039)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4FAE #AE8B2C
analogous
#2C90AE #2C4FAE #4A2CAE
triadic
#2C4FAE #AE2C4F #4FAE2C
tetradic
#2C4FAE #AE2C90 #AE8B2C #2CAE4A
square
#2C4FAE #AE2C90 #AE8B2C #2CAE4A
split-complementary
#2C4FAE #AE4A2C #90AE2C
monochromatic
#13234C #20397D #2C4FAE #476CD0 #7893DD

Accessibility & contrast

On white

7.40
#2C4FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2C4FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4FAE
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4FAE#FFFFFF#000000##FFFFFF
##2C4FAE1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c4fae;
/* rgb */ color: rgb(44, 79, 174);
/* oklch */ color: oklch(45.9% 0.157 265.3);
Tailwind
colors: {
  custom: {
    50: '#787fc7',
    500: '#2c4fae',
    950: '#000000',
  },
}
SCSS
$custom: #2c4fae;
$custom-light: #787fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4fae",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 174
  },
  "hsl": {
    "h": 223.846,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45893,
    "c": 0.15733,
    "h": 265.3
  },
  "luminance": 0.09183
}

Semantic roles & 50–950 ramp

primary
#2C4FAE
secondary
#C5AE71
accent
#B845E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C4FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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