#2C4AAB#2C4AAB

#2C4AAB is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.6% C 0.159 H 266.7°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2C4AAB
RGBrgb(44, 74, 171)
HSLhsl(226, 59%, 42%)
HSVhsv(226, 74%, 67%)
CMYKcmyk(74.3%, 56.7%, 0%, 32.9%)
CIE-LABlab(34.75, 23.71, -55.23)
CIE-LCHlch(34.75, 60.10, 293.23°)
OKLaboklab(44.63% -0.0091 -0.1592)
OKLCHoklch(44.63% 0.159 266.7)
XYZxyz(10.8356, 8.3721, 39.5651)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4AAB #AB8D2C
analogous
#2C8AAB #2C4AAB #4E2CAB
triadic
#2C4AAB #AB2C4A #4AAB2C
tetradic
#2C4AAB #AB2C8A #AB8D2C #2CAB4E
square
#2C4AAB #AB2C8A #AB8D2C #2CAB4E
split-complementary
#2C4AAB #AB4E2C #8AAB2C
monochromatic
#13204A #1F357A #2C4AAB #4566CF #768EDC

Accessibility & contrast

On white

7.85
#2C4AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2C4AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4AAB
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4AAB#FFFFFF#000000##FFFFFF
##2C4AAB1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AE
Deuteranopia (green-blind)
#004CA9
Tritanopia (blue-blind)
#006273
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c4aab;
/* rgb */ color: rgb(44, 74, 171);
/* oklch */ color: oklch(44.6% 0.159 266.7);
Tailwind
colors: {
  custom: {
    50: '#777cc5',
    500: '#2c4aab',
    950: '#000000',
  },
}
SCSS
$custom: #2c4aab;
$custom-light: #777cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4aab",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 171
  },
  "hsl": {
    "h": 225.827,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44626,
    "c": 0.15948,
    "h": 266.7
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

primary
#2C4AAB
secondary
#C3B06F
accent
#BD46E2
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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