#2C4FBB#2C4FBB

#2C4FBB is a mid, vivid blue. Relative luminance 0.097; OKLCH L 46.9% C 0.175 H 266.1°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#2C4FBB
RGBrgb(44, 79, 187)
HSLhsl(225, 62%, 45%)
HSVhsv(225, 76%, 73%)
CMYKcmyk(76.5%, 57.8%, 0%, 26.7%)
CIE-LABlab(37.32, 26.45, -60.49)
CIE-LCHlch(37.32, 66.02, 293.62°)
OKLaboklab(46.95% -0.012 -0.1746)
OKLCHoklch(46.95% 0.175 266.1)
XYZxyz(12.8012, 9.7139, 48.2044)
Luminance0.0972 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4FBB #BB982C
analogous
#2C96BB #2C4FBB #512CBB
triadic
#2C4FBB #BB2C4F #4FBB2C
tetradic
#2C4FBB #BB2C96 #BB982C #2CBB51
square
#2C4FBB #BB2C96 #BB982C #2CBB51
split-complementary
#2C4FBB #BB512C #96BB2C
monochromatic
#152558 #203A89 #2C4FBB #4F70D6 #8098E1

Accessibility & contrast

On white

7.14
#2C4FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#2C4FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4FBB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4FBB#FFFFFF#000000##FFFFFF
##2C4FBB1.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0051B9
Tritanopia (blue-blind)
#006A7D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c4fbb;
/* rgb */ color: rgb(44, 79, 187);
/* oklch */ color: oklch(46.9% 0.175 266.1);
Tailwind
colors: {
  custom: {
    50: '#7b7fd0',
    500: '#2c4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #2c4fbb;
$custom-light: #7b7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4fbb",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 225.315,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4695,
    "c": 0.17503,
    "h": 266.1
  },
  "luminance": 0.09715
}

Semantic roles & 50–950 ramp

primary
#2C4FBB
secondary
#CAB679
accent
#BD43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2C4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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