#2C4CB9#2C4CB9

#2C4CB9 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.2% C 0.176 H 266.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#2C4CB9
RGBrgb(44, 76, 185)
HSLhsl(226, 62%, 45%)
HSVhsv(226, 76%, 73%)
CMYKcmyk(76.2%, 58.9%, 0%, 27.5%)
CIE-LABlab(36.38, 27.67, -60.86)
CIE-LCHlch(36.38, 66.85, 294.45°)
OKLaboklab(46.19% -0.01 -0.1757)
OKLCHoklch(46.19% 0.176 266.7)
XYZxyz(12.3770, 9.2058, 47.0141)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4CB9 #B9992C
analogous
#2C93B9 #2C4CB9 #532CB9
triadic
#2C4CB9 #B92C4C #4CB92C
tetradic
#2C4CB9 #B92C93 #B9992C #2CB953
square
#2C4CB9 #B92C93 #B9992C #2CB953
split-complementary
#2C4CB9 #B9532C #93B92C
monochromatic
#142356 #203888 #2C4CB9 #4D6CD5 #7F95E1

Accessibility & contrast

On white

7.39
#2C4CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#2C4CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4CB9
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4CB9#FFFFFF#000000##FFFFFF
##2C4CB91.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#00677B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c4cb9;
/* rgb */ color: rgb(44, 76, 185);
/* oklch */ color: oklch(46.2% 0.176 266.7);
Tailwind
colors: {
  custom: {
    50: '#7a7dcf',
    500: '#2c4cb9',
    950: '#000000',
  },
}
SCSS
$custom: #2c4cb9;
$custom-light: #7a7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4cb9",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 185
  },
  "hsl": {
    "h": 226.383,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46193,
    "c": 0.17604,
    "h": 266.7
  },
  "luminance": 0.09207
}

Semantic roles & 50–950 ramp

primary
#2C4CB9
secondary
#C9B778
accent
#C043E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2C4CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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