#2C4BB5#2C4BB5

#2C4BB5 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.7% C 0.172 H 266.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#2C4BB5
RGBrgb(44, 75, 181)
HSLhsl(226, 61%, 44%)
HSVhsv(226, 76%, 71%)
CMYKcmyk(75.7%, 58.6%, 0%, 29%)
CIE-LABlab(35.80, 26.82, -59.45)
CIE-LCHlch(35.80, 65.22, 294.28°)
OKLaboklab(45.66% -0.0094 -0.1716)
OKLCHoklch(45.66% 0.172 266.9)
XYZxyz(11.8924, 8.9025, 44.7987)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BB5 #B5962C
analogous
#2C90B5 #2C4BB5 #512CB5
triadic
#2C4BB5 #B52C4B #4BB52C
tetradic
#2C4BB5 #B52C90 #B5962C #2CB551
square
#2C4BB5 #B52C90 #B5962C #2CB551
split-complementary
#2C4BB5 #B5512C #90B52C
monochromatic
#142253 #203784 #2C4BB5 #4B6AD3 #7C93DF

Accessibility & contrast

On white

7.55
#2C4BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2C4BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4BB5
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BB5#FFFFFF#000000##FFFFFF
##2C4BB51.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#004EB3
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c4bb5;
/* rgb */ color: rgb(44, 75, 181);
/* oklch */ color: oklch(45.7% 0.172 266.9);
Tailwind
colors: {
  custom: {
    50: '#7a7ccc',
    500: '#2c4bb5',
    950: '#000000',
  },
}
SCSS
$custom: #2c4bb5;
$custom-light: #7a7ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4bb5",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 181
  },
  "hsl": {
    "h": 226.423,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.45658,
    "c": 0.17188,
    "h": 266.9
  },
  "luminance": 0.08904
}

Semantic roles & 50–950 ramp

primary
#2C4BB5
secondary
#C8B575
accent
#C044E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2C4BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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