#2C4EB2#2C4EB2

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

Color values

HEX#2C4EB2
RGBrgb(44, 78, 178)
HSLhsl(225, 60%, 44%)
HSVhsv(225, 75%, 70%)
CMYKcmyk(75.3%, 56.2%, 0%, 30.2%)
CIE-LABlab(36.36, 23.71, -56.76)
CIE-LCHlch(36.36, 61.51, 292.67°)
OKLaboklab(46.01% -0.0118 -0.1637)
OKLCHoklch(46.01% 0.164 265.9)
XYZxyz(11.7962, 9.1973, 43.2644)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4EB2 #B2902C
analogous
#2C91B2 #2C4EB2 #4D2CB2
triadic
#2C4EB2 #B22C4E #4EB22C
tetradic
#2C4EB2 #B22C91 #B2902C #2CB24D
square
#2C4EB2 #B22C91 #B2902C #2CB24D
split-complementary
#2C4EB2 #B24D2C #91B22C
monochromatic
#142350 #203881 #2C4EB2 #496CD2 #7A94DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C4EB2#FFFFFF#000000##FFFFFF
##2C4EB21.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)
#005CB5
Deuteranopia (green-blind)
#0050B0
Tritanopia (blue-blind)
#006778
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c4eb2;
/* rgb */ color: rgb(44, 78, 178);
/* oklch */ color: oklch(46.0% 0.164 265.9);
Tailwind
colors: {
  custom: {
    50: '#797fca',
    500: '#2c4eb2',
    950: '#000000',
  },
}
SCSS
$custom: #2c4eb2;
$custom-light: #797fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4eb2",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 224.776,
    "s": 60.36,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46009,
    "c": 0.16408,
    "h": 265.9
  },
  "luminance": 0.09199
}

Semantic roles & 50–950 ramp

primary
#2C4EB2
secondary
#C6B173
accent
#BB44E4
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C4EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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