#2C4AB6#2C4AB6

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

Color values

HEX#2C4AB6
RGBrgb(44, 74, 182)
HSLhsl(227, 61%, 44%)
HSVhsv(227, 76%, 71%)
CMYKcmyk(75.8%, 59.3%, 0%, 28.6%)
CIE-LABlab(35.61, 27.86, -60.34)
CIE-LCHlch(35.61, 66.46, 294.78°)
OKLaboklab(45.55% -0.0087 -0.1742)
OKLCHoklch(45.55% 0.174 267.1)
XYZxyz(11.9280, 8.8091, 45.3186)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4AB6 #B6982C
analogous
#2C8FB6 #2C4AB6 #532CB6
triadic
#2C4AB6 #B62C4A #4AB62C
tetradic
#2C4AB6 #B62C8F #B6982C #2CB653
square
#2C4AB6 #B62C8F #B6982C #2CB653
split-complementary
#2C4AB6 #B6532C #8FB62C
monochromatic
#142253 #203685 #2C4AB6 #4C69D4 #7D92E0

Accessibility & contrast

On white

7.60
#2C4AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#2C4AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4AB6
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4AB6#FFFFFF#000000##FFFFFF
##2C4AB61.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#006579
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c4ab6;
/* rgb */ color: rgb(44, 74, 182);
/* oklch */ color: oklch(45.5% 0.174 267.1);
Tailwind
colors: {
  custom: {
    50: '#7a7ccd',
    500: '#2c4ab6',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ab6;
$custom-light: #7a7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ab6",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 182
  },
  "hsl": {
    "h": 226.957,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45548,
    "c": 0.17446,
    "h": 267.1
  },
  "luminance": 0.0881
}

Semantic roles & 50–950 ramp

primary
#2C4AB6
secondary
#C8B676
accent
#C144E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2C4AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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