#2C4DB5#2C4DB5

#2C4DB5 is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.1% C 0.169 H 266.3°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#2C4DB5
RGBrgb(44, 77, 181)
HSLhsl(226, 61%, 44%)
HSVhsv(226, 76%, 71%)
CMYKcmyk(75.7%, 57.5%, 0%, 29%)
CIE-LABlab(36.33, 25.50, -58.59)
CIE-LCHlch(36.33, 63.90, 293.52°)
OKLaboklab(46.05% -0.0109 -0.1691)
OKLCHoklch(46.05% 0.169 266.3)
XYZxyz(12.0301, 9.1781, 44.8446)
Luminance0.0918 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4DB5 #B5942C
analogous
#2C92B5 #2C4DB5 #4F2CB5
triadic
#2C4DB5 #B52C4D #4DB52C
tetradic
#2C4DB5 #B52C92 #B5942C #2CB54F
square
#2C4DB5 #B52C92 #B5942C #2CB54F
split-complementary
#2C4DB5 #B54F2C #92B52C
monochromatic
#142353 #203884 #2C4DB5 #4B6CD3 #7C94DF

Accessibility & contrast

On white

7.41
#2C4DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4DB5
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4DB5#FFFFFF#000000##FFFFFF
##2C4DB51.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB9
Deuteranopia (green-blind)
#004FB3
Tritanopia (blue-blind)
#006779
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c4db5;
/* rgb */ color: rgb(44, 77, 181);
/* oklch */ color: oklch(46.1% 0.169 266.3);
Tailwind
colors: {
  custom: {
    50: '#797ecc',
    500: '#2c4db5',
    950: '#000000',
  },
}
SCSS
$custom: #2c4db5;
$custom-light: #797ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4db5",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 181
  },
  "hsl": {
    "h": 225.547,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46054,
    "c": 0.16941,
    "h": 266.3
  },
  "luminance": 0.09179
}

Semantic roles & 50–950 ramp

primary
#2C4DB5
secondary
#C8B475
accent
#BD44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0913
muted
#7C7B82

Preview Lab

Preview with #2C4DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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