#2C4BB0#2C4BB0

#2C4BB0 is a mid, vivid blue. Relative luminance 0.087; OKLCH L 45.2% C 0.165 H 266.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#2C4BB0
RGBrgb(44, 75, 176)
HSLhsl(226, 60%, 43%)
HSVhsv(226, 75%, 69%)
CMYKcmyk(75%, 57.4%, 0%, 31%)
CIE-LABlab(35.40, 24.94, -57.13)
CIE-LCHlch(35.40, 62.34, 293.58°)
OKLaboklab(45.24% -0.0096 -0.1648)
OKLCHoklch(45.24% 0.165 266.7)
XYZxyz(11.3885, 8.7010, 42.1451)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BB0 #B0912C
analogous
#2C8DB0 #2C4BB0 #4F2CB0
triadic
#2C4BB0 #B02C4B #4BB02C
tetradic
#2C4BB0 #B02C8D #B0912C #2CB04F
square
#2C4BB0 #B02C8D #B0912C #2CB04F
split-complementary
#2C4BB0 #B04F2C #8DB02C
monochromatic
#14214E #20367F #2C4BB0 #4868D1 #7991DD

Accessibility & contrast

On white

7.66
#2C4BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#2C4BB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4BB0
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BB0#FFFFFF#000000##FFFFFF
##2C4BB01.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#004DAE
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c4bb0;
/* rgb */ color: rgb(44, 75, 176);
/* oklch */ color: oklch(45.2% 0.165 266.7);
Tailwind
colors: {
  custom: {
    50: '#787cc8',
    500: '#2c4bb0',
    950: '#000000',
  },
}
SCSS
$custom: #2c4bb0;
$custom-light: #787cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4bb0",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 176
  },
  "hsl": {
    "h": 225.909,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4524,
    "c": 0.16509,
    "h": 266.7
  },
  "luminance": 0.08702
}

Semantic roles & 50–950 ramp

primary
#2C4BB0
secondary
#C6B272
accent
#BE45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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