#2C4AAE#2C4AAE

#2C4AAE is a dark, vivid blue. Relative luminance 0.085; OKLCH L 44.9% C 0.164 H 266.9°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#2C4AAE
RGBrgb(44, 74, 174)
HSLhsl(226, 60%, 43%)
HSVhsv(226, 75%, 68%)
CMYKcmyk(74.7%, 57.5%, 0%, 31.8%)
CIE-LABlab(34.98, 24.84, -56.63)
CIE-LCHlch(34.98, 61.84, 293.69°)
OKLaboklab(44.87% -0.009 -0.1634)
OKLCHoklch(44.87% 0.164 266.9)
XYZxyz(11.1248, 8.4878, 41.0882)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4AAE #AE902C
analogous
#2C8BAE #2C4AAE #4F2CAE
triadic
#2C4AAE #AE2C4A #4AAE2C
tetradic
#2C4AAE #AE2C8B #AE902C #2CAE4F
square
#2C4AAE #AE2C8B #AE902C #2CAE4F
split-complementary
#2C4AAE #AE4F2C #8BAE2C
monochromatic
#13204C #20357D #2C4AAE #4767D0 #788FDD

Accessibility & contrast

On white

7.78
#2C4AAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2C4AAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4AAE
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4AAE#FFFFFF#000000##FFFFFF
##2C4AAE1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#004CAC
Tritanopia (blue-blind)
#006374
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c4aae;
/* rgb */ color: rgb(44, 74, 174);
/* oklch */ color: oklch(44.9% 0.164 266.9);
Tailwind
colors: {
  custom: {
    50: '#787cc7',
    500: '#2c4aae',
    950: '#000000',
  },
}
SCSS
$custom: #2c4aae;
$custom-light: #787cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4aae",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 174
  },
  "hsl": {
    "h": 226.154,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.44874,
    "c": 0.16361,
    "h": 266.9
  },
  "luminance": 0.08489
}

Semantic roles & 50–950 ramp

primary
#2C4AAE
secondary
#C5B171
accent
#BE45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4AAE

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

Preview Lab → · Contrast checker → · Palette generator →

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