#2C4FAD#2C4FAD

#2C4FAD is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.8% C 0.156 H 265.3°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#2C4FAD
RGBrgb(44, 79, 173)
HSLhsl(224, 59%, 43%)
HSVhsv(224, 75%, 68%)
CMYKcmyk(74.6%, 54.3%, 0%, 32.2%)
CIE-LABlab(36.26, 21.15, -53.96)
CIE-LCHlch(36.26, 57.96, 291.40°)
OKLaboklab(45.81% -0.0129 -0.1554)
OKLCHoklch(45.81% 0.156 265.3)
XYZxyz(11.3749, 9.1433, 40.6924)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4FAD #AD8A2C
analogous
#2C8FAD #2C4FAD #4A2CAD
triadic
#2C4FAD #AD2C4F #4FAD2C
tetradic
#2C4FAD #AD2C8F #AD8A2C #2CAD4A
square
#2C4FAD #AD2C8F #AD8A2C #2CAD4A
split-complementary
#2C4FAD #AD4A2C #8FAD2C
monochromatic
#13224B #20397C #2C4FAD #466CD0 #7793DC

Accessibility & contrast

On white

7.42
#2C4FAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#2C4FAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4FAD
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4FAD#FFFFFF#000000##FFFFFF
##2C4FAD1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#025CB0
Deuteranopia (green-blind)
#0050AB
Tritanopia (blue-blind)
#006676
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c4fad;
/* rgb */ color: rgb(44, 79, 173);
/* oklch */ color: oklch(45.8% 0.156 265.3);
Tailwind
colors: {
  custom: {
    50: '#777fc6',
    500: '#2c4fad',
    950: '#000000',
  },
}
SCSS
$custom: #2c4fad;
$custom-light: #777fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4fad",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 173
  },
  "hsl": {
    "h": 223.721,
    "s": 59.447,
    "l": 42.549
  },
  "oklch": {
    "l": 0.45813,
    "c": 0.15595,
    "h": 265.3
  },
  "luminance": 0.09145
}

Semantic roles & 50–950 ramp

primary
#2C4FAD
secondary
#C4AE71
accent
#B845E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C4FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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