#2C4AA5#2C4AA5

#2C4AA5 is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.1% C 0.151 H 266.4°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#2C4AA5
RGBrgb(44, 74, 165)
HSLhsl(225, 58%, 41%)
HSVhsv(225, 73%, 65%)
CMYKcmyk(73.3%, 55.2%, 0%, 35.3%)
CIE-LABlab(34.29, 21.43, -52.38)
CIE-LCHlch(34.29, 56.59, 292.25°)
OKLaboklab(44.14% -0.0095 -0.1509)
OKLCHoklch(44.14% 0.151 266.4)
XYZxyz(10.2766, 8.1486, 36.6212)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4AA5 #A5872C
analogous
#2C86A5 #2C4AA5 #4A2CA5
triadic
#2C4AA5 #A52C4A #4AA52C
tetradic
#2C4AA5 #A52C86 #A5872C #2CA54A
square
#2C4AA5 #A52C86 #A5872C #2CA54A
split-complementary
#2C4AA5 #A54A2C #86A52C
monochromatic
#121F44 #1F3475 #2C4AA5 #4264CD #728CD9

Accessibility & contrast

On white

7.98
#2C4AA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#2C4AA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4AA5
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4AA5#FFFFFF#000000##FFFFFF
##2C4AA51.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A8
Deuteranopia (green-blind)
#004BA3
Tritanopia (blue-blind)
#006070
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c4aa5;
/* rgb */ color: rgb(44, 74, 165);
/* oklch */ color: oklch(44.1% 0.151 266.4);
Tailwind
colors: {
  custom: {
    50: '#767cc0',
    500: '#2c4aa5',
    950: '#000000',
  },
}
SCSS
$custom: #2c4aa5;
$custom-light: #767cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4aa5",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 165
  },
  "hsl": {
    "h": 225.124,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.44139,
    "c": 0.15115,
    "h": 266.4
  },
  "luminance": 0.0815
}

Semantic roles & 50–950 ramp

primary
#2C4AA5
secondary
#C1AC6C
accent
#BB47E1
background
#F7F7FB
surface
#EEEEF7
border
#C9C9D0
text
#0A0912
muted
#7C7B81

Preview Lab

Preview with #2C4AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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