#2C4FBC#2C4FBC

#2C4FBC is a mid, vivid blue. Relative luminance 0.098; OKLCH L 47.0% C 0.176 H 266.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#2C4FBC
RGBrgb(44, 79, 188)
HSLhsl(225, 62%, 45%)
HSVhsv(225, 77%, 74%)
CMYKcmyk(76.6%, 58%, 0%, 26.3%)
CIE-LABlab(37.40, 26.83, -60.95)
CIE-LCHlch(37.40, 66.59, 293.76°)
OKLaboklab(47.03% -0.012 -0.176)
OKLCHoklch(47.03% 0.176 266.1)
XYZxyz(12.9086, 9.7568, 48.7701)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4FBC #BC992C
analogous
#2C97BC #2C4FBC #512CBC
triadic
#2C4FBC #BC2C4F #4FBC2C
tetradic
#2C4FBC #BC2C97 #BC992C #2CBC51
square
#2C4FBC #BC2C97 #BC992C #2CBC51
split-complementary
#2C4FBC #BC512C #97BC2C
monochromatic
#152559 #203A8A #2C4FBC #4F70D6 #8198E1

Accessibility & contrast

On white

7.11
#2C4FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#2C4FBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4FBC
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4FBC#FFFFFF#000000##FFFFFF
##2C4FBC1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#0052BA
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c4fbc;
/* rgb */ color: rgb(44, 79, 188);
/* oklch */ color: oklch(47.0% 0.176 266.1);
Tailwind
colors: {
  custom: {
    50: '#7b7fd1',
    500: '#2c4fbc',
    950: '#000000',
  },
}
SCSS
$custom: #2c4fbc;
$custom-light: #7b7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4fbc",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 225.417,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47034,
    "c": 0.17638,
    "h": 266.1
  },
  "luminance": 0.09758
}

Semantic roles & 50–950 ramp

primary
#2C4FBC
secondary
#CAB779
accent
#BE43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2C4FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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