#2C4CBB#2C4CBB

#2C4CBB is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.179 H 266.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#2C4CBB
RGBrgb(44, 76, 187)
HSLhsl(227, 62%, 45%)
HSVhsv(227, 76%, 73%)
CMYKcmyk(76.5%, 59.4%, 0%, 26.7%)
CIE-LABlab(36.54, 28.42, -61.77)
CIE-LCHlch(36.54, 68.00, 294.70°)
OKLaboklab(46.36% -0.01 -0.1784)
OKLCHoklch(46.36% 0.179 266.8)
XYZxyz(12.5897, 9.2908, 48.1339)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4CBB #BB9B2C
analogous
#2C94BB #2C4CBB #532CBB
triadic
#2C4CBB #BB2C4C #4CBB2C
tetradic
#2C4CBB #BB2C94 #BB9B2C #2CBB53
square
#2C4CBB #BB2C94 #BB9B2C #2CBB53
split-complementary
#2C4CBB #BB532C #94BB2C
monochromatic
#152458 #203889 #2C4CBB #4F6DD6 #8096E1

Accessibility & contrast

On white

7.35
#2C4CBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2C4CBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4CBB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4CBB#FFFFFF#000000##FFFFFF
##2C4CBB1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#0050B9
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c4cbb;
/* rgb */ color: rgb(44, 76, 187);
/* oklch */ color: oklch(46.4% 0.179 266.8);
Tailwind
colors: {
  custom: {
    50: '#7b7dd0',
    500: '#2c4cbb',
    950: '#000000',
  },
}
SCSS
$custom: #2c4cbb;
$custom-light: #7b7dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4cbb",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 187
  },
  "hsl": {
    "h": 226.573,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46363,
    "c": 0.17871,
    "h": 266.8
  },
  "luminance": 0.09292
}

Semantic roles & 50–950 ramp

primary
#2C4CBB
secondary
#CAB879
accent
#C143E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #2C4CBB

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

Preview Lab → · Contrast checker → · Palette generator →

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