#2C4AB5#2C4AB5

#2C4AB5 is a mid, vivid blue. Relative luminance 0.088; OKLCH L 45.5% C 0.173 H 267.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2C4AB5
RGBrgb(44, 74, 181)
HSLhsl(227, 61%, 44%)
HSVhsv(227, 76%, 71%)
CMYKcmyk(75.7%, 59.1%, 0%, 29%)
CIE-LABlab(35.53, 27.48, -59.88)
CIE-LCHlch(35.53, 65.88, 294.65°)
OKLaboklab(45.46% -0.0087 -0.1729)
OKLCHoklch(45.46% 0.173 267.1)
XYZxyz(11.8251, 8.7679, 44.7763)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4AB5 #B5972C
analogous
#2C8FB5 #2C4AB5 #522CB5
triadic
#2C4AB5 #B52C4A #4AB52C
tetradic
#2C4AB5 #B52C8F #B5972C #2CB552
square
#2C4AB5 #B52C8F #B5972C #2CB552
split-complementary
#2C4AB5 #B5522C #8FB52C
monochromatic
#142253 #203684 #2C4AB5 #4B69D3 #7C92DF

Accessibility & contrast

On white

7.63
#2C4AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4AB5
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4AB5#FFFFFF#000000##FFFFFF
##2C4AB51.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB9
Deuteranopia (green-blind)
#004DB3
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c4ab5;
/* rgb */ color: rgb(44, 74, 181);
/* oklch */ color: oklch(45.5% 0.173 267.1);
Tailwind
colors: {
  custom: {
    50: '#7a7ccc',
    500: '#2c4ab5',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ab5;
$custom-light: #7a7ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ab5",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 181
  },
  "hsl": {
    "h": 226.861,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45462,
    "c": 0.17311,
    "h": 267.1
  },
  "luminance": 0.08769
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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