#2C4CB1#2C4CB1

#2C4CB1 is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.5% C 0.165 H 266.4°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#2C4CB1
RGBrgb(44, 76, 177)
HSLhsl(226, 60%, 43%)
HSVhsv(226, 75%, 69%)
CMYKcmyk(75.1%, 57.1%, 0%, 30.6%)
CIE-LABlab(35.75, 24.65, -57.16)
CIE-LCHlch(35.75, 62.25, 293.33°)
OKLaboklab(45.52% -0.0103 -0.1649)
OKLCHoklch(45.52% 0.165 266.4)
XYZxyz(11.5562, 8.8774, 42.6909)
Luminance0.0888 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4CB1 #B1912C
analogous
#2C8EB1 #2C4CB1 #4E2CB1
triadic
#2C4CB1 #B12C4C #4CB12C
tetradic
#2C4CB1 #B12C8E #B1912C #2CB14E
square
#2C4CB1 #B12C8E #B1912C #2CB14E
split-complementary
#2C4CB1 #B14E2C #8EB12C
monochromatic
#14224F #203780 #2C4CB1 #496AD2 #7A92DE

Accessibility & contrast

On white

7.57
#2C4CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#2C4CB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4CB1
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4CB1#FFFFFF#000000##FFFFFF
##2C4CB11.007.572.787.57
#FFFFFF7.571.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB4
Deuteranopia (green-blind)
#004EAF
Tritanopia (blue-blind)
#006577
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c4cb1;
/* rgb */ color: rgb(44, 76, 177);
/* oklch */ color: oklch(45.5% 0.165 266.4);
Tailwind
colors: {
  custom: {
    50: '#797dc9',
    500: '#2c4cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2c4cb1;
$custom-light: #797dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4cb1",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 177
  },
  "hsl": {
    "h": 225.564,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.45523,
    "c": 0.16521,
    "h": 266.4
  },
  "luminance": 0.08879
}

Semantic roles & 50–950 ramp

primary
#2C4CB1
secondary
#C6B273
accent
#BD44E3
background
#F8F7FC
surface
#EFEEF8
border
#CAC9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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