#2C4AB4#2C4AB4

#2C4AB4 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.4% C 0.172 H 267.1°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#2C4AB4
RGBrgb(44, 74, 180)
HSLhsl(227, 61%, 44%)
HSVhsv(227, 76%, 71%)
CMYKcmyk(75.6%, 58.9%, 0%, 29.4%)
CIE-LABlab(35.45, 27.11, -59.42)
CIE-LCHlch(35.45, 65.31, 294.52°)
OKLaboklab(45.38% -0.0088 -0.1715)
OKLCHoklch(45.38% 0.172 267.1)
XYZxyz(11.7228, 8.7270, 44.2378)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4AB4 #B4962C
analogous
#2C8EB4 #2C4AB4 #522CB4
triadic
#2C4AB4 #B42C4A #4AB42C
tetradic
#2C4AB4 #B42C8E #B4962C #2CB452
square
#2C4AB4 #B42C8E #B4962C #2CB452
split-complementary
#2C4AB4 #B4522C #8EB42C
monochromatic
#142252 #203683 #2C4AB4 #4A68D3 #7C91DF

Accessibility & contrast

On white

7.65
#2C4AB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2C4AB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4AB4
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4AB4#FFFFFF#000000##FFFFFF
##2C4AB41.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB8
Deuteranopia (green-blind)
#004DB2
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c4ab4;
/* rgb */ color: rgb(44, 74, 180);
/* oklch */ color: oklch(45.4% 0.172 267.1);
Tailwind
colors: {
  custom: {
    50: '#797ccb',
    500: '#2c4ab4',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ab4;
$custom-light: #797ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ab4",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 180
  },
  "hsl": {
    "h": 226.765,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45377,
    "c": 0.17176,
    "h": 267.1
  },
  "luminance": 0.08728
}

Semantic roles & 50–950 ramp

primary
#2C4AB4
secondary
#C7B575
accent
#C144E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2C4AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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