#2C4AA0#2C4AA0

#2C4AA0 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 43.7% C 0.144 H 266.1°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#2C4AA0
RGBrgb(44, 74, 160)
HSLhsl(224, 57%, 40%)
HSVhsv(224, 73%, 63%)
CMYKcmyk(72.5%, 53.7%, 0%, 37.3%)
CIE-LABlab(33.92, 19.53, -49.98)
CIE-LCHlch(33.92, 53.66, 291.34°)
OKLaboklab(43.74% -0.0099 -0.1438)
OKLCHoklch(43.74% 0.144 266.1)
XYZxyz(9.8304, 7.9701, 34.2712)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4AA0 #A0822C
analogous
#2C84A0 #2C4AA0 #482CA0
triadic
#2C4AA0 #A02C4A #4AA02C
tetradic
#2C4AA0 #A02C84 #A0822C #2CA048
square
#2C4AA0 #A02C84 #A0822C #2CA048
split-complementary
#2C4AA0 #A0482C #84A02C
monochromatic
#121E40 #1F3470 #2C4AA0 #3F63CA #6F8AD7

Accessibility & contrast

On white

8.09
#2C4AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2C4AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4AA0
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4AA0#FFFFFF#000000##FFFFFF
##2C4AA01.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D55A3
Deuteranopia (green-blind)
#004B9E
Tritanopia (blue-blind)
#005F6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c4aa0;
/* rgb */ color: rgb(44, 74, 160);
/* oklch */ color: oklch(43.7% 0.144 266.1);
Tailwind
colors: {
  custom: {
    50: '#757cbd',
    500: '#2c4aa0',
    950: '#000000',
  },
}
SCSS
$custom: #2c4aa0;
$custom-light: #757cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4aa0",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 160
  },
  "hsl": {
    "h": 224.483,
    "s": 56.863,
    "l": 40
  },
  "oklch": {
    "l": 0.43742,
    "c": 0.14412,
    "h": 266.1
  },
  "luminance": 0.07971
}

Semantic roles & 50–950 ramp

primary
#2C4AA0
secondary
#BFA869
accent
#B948E0
background
#F7F7FB
surface
#EEEEF6
border
#C9C9D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2C4AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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