#2C4BB6#2C4BB6

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

Color values

HEX#2C4BB6
RGBrgb(44, 75, 182)
HSLhsl(227, 61%, 44%)
HSVhsv(227, 76%, 71%)
CMYKcmyk(75.8%, 58.8%, 0%, 28.6%)
CIE-LABlab(35.88, 27.20, -59.91)
CIE-LCHlch(35.88, 65.79, 294.42°)
OKLaboklab(45.74% -0.0094 -0.173)
OKLCHoklch(45.74% 0.173 266.9)
XYZxyz(11.9953, 8.9437, 45.3410)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BB6 #B6972C
analogous
#2C90B6 #2C4BB6 #522CB6
triadic
#2C4BB6 #B62C4B #4BB62C
tetradic
#2C4BB6 #B62C90 #B6972C #2CB652
square
#2C4BB6 #B62C90 #B6972C #2CB652
split-complementary
#2C4BB6 #B6522C #90B62C
monochromatic
#142253 #203785 #2C4BB6 #4C6AD4 #7D93E0

Accessibility & contrast

On white

7.53
#2C4BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2C4BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4BB6
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BB6#FFFFFF#000000##FFFFFF
##2C4BB61.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBA
Deuteranopia (green-blind)
#004EB4
Tritanopia (blue-blind)
#006679
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c4bb6;
/* rgb */ color: rgb(44, 75, 182);
/* oklch */ color: oklch(45.7% 0.173 266.9);
Tailwind
colors: {
  custom: {
    50: '#7a7ccd',
    500: '#2c4bb6',
    950: '#000000',
  },
}
SCSS
$custom: #2c4bb6;
$custom-light: #7a7ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4bb6",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 182
  },
  "hsl": {
    "h": 226.522,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.45743,
    "c": 0.17323,
    "h": 266.9
  },
  "luminance": 0.08945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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