#2C4CB3#2C4CB3

#2C4CB3 is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.7% C 0.168 H 266.5°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#2C4CB3
RGBrgb(44, 76, 179)
HSLhsl(226, 61%, 44%)
HSVhsv(226, 75%, 70%)
CMYKcmyk(75.4%, 57.5%, 0%, 29.8%)
CIE-LABlab(35.90, 25.41, -58.09)
CIE-LCHlch(35.90, 63.41, 293.62°)
OKLaboklab(45.69% -0.0102 -0.1676)
OKLCHoklch(45.69% 0.168 266.5)
XYZxyz(11.7570, 8.9577, 43.7485)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4CB3 #B3932C
analogous
#2C8FB3 #2C4CB3 #4F2CB3
triadic
#2C4CB3 #B32C4C #4CB32C
tetradic
#2C4CB3 #B32C8F #B3932C #2CB34F
square
#2C4CB3 #B32C8F #B3932C #2CB34F
split-complementary
#2C4CB3 #B34F2C #8FB32C
monochromatic
#142251 #203782 #2C4CB3 #4A6AD2 #7B92DF

Accessibility & contrast

On white

7.52
#2C4CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4CB3
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4CB3#FFFFFF#000000##FFFFFF
##2C4CB31.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#004EB1
Tritanopia (blue-blind)
#006678
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c4cb3;
/* rgb */ color: rgb(44, 76, 179);
/* oklch */ color: oklch(45.7% 0.168 266.5);
Tailwind
colors: {
  custom: {
    50: '#797dcb',
    500: '#2c4cb3',
    950: '#000000',
  },
}
SCSS
$custom: #2c4cb3;
$custom-light: #797dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4cb3",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 179
  },
  "hsl": {
    "h": 225.778,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45689,
    "c": 0.16793,
    "h": 266.5
  },
  "luminance": 0.08959
}

Semantic roles & 50–950 ramp

primary
#2C4CB3
secondary
#C7B374
accent
#BE44E4
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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