#2C4AA2#2C4AA2

#2C4AA2 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.9% C 0.147 H 266.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2C4AA2
RGBrgb(44, 74, 162)
HSLhsl(225, 57%, 40%)
HSVhsv(225, 73%, 64%)
CMYKcmyk(72.8%, 54.3%, 0%, 36.5%)
CIE-LABlab(34.07, 20.29, -50.94)
CIE-LCHlch(34.07, 54.83, 291.72°)
OKLaboklab(43.9% -0.0097 -0.1466)
OKLCHoklch(43.9% 0.147 266.2)
XYZxyz(10.0068, 8.0406, 35.2000)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4AA2 #A2842C
analogous
#2C85A2 #2C4AA2 #492CA2
triadic
#2C4AA2 #A22C4A #4AA22C
tetradic
#2C4AA2 #A22C85 #A2842C #2CA249
square
#2C4AA2 #A22C85 #A2842C #2CA249
split-complementary
#2C4AA2 #A2492C #85A22C
monochromatic
#121E42 #1F3472 #2C4AA2 #4063CB #708BD8

Accessibility & contrast

On white

8.05
#2C4AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2C4AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4AA2
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4AA2#FFFFFF#000000##FFFFFF
##2C4AA21.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0656A5
Deuteranopia (green-blind)
#004BA0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c4aa2;
/* rgb */ color: rgb(44, 74, 162);
/* oklch */ color: oklch(43.9% 0.147 266.2);
Tailwind
colors: {
  custom: {
    50: '#757cbe',
    500: '#2c4aa2',
    950: '#000000',
  },
}
SCSS
$custom: #2c4aa2;
$custom-light: #757cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4aa2",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 224.746,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.439,
    "c": 0.14694,
    "h": 266.2
  },
  "luminance": 0.08042
}

Semantic roles & 50–950 ramp

primary
#2C4AA2
secondary
#BFAA6A
accent
#BA47E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2C4AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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