#2C4FBF#2C4FBF

#2C4FBF is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.3% C 0.180 H 266.2°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#2C4FBF
RGBrgb(44, 79, 191)
HSLhsl(226, 63%, 46%)
HSVhsv(226, 77%, 75%)
CMYKcmyk(77%, 58.6%, 0%, 25.1%)
CIE-LABlab(37.64, 27.96, -62.32)
CIE-LCHlch(37.64, 68.30, 294.16°)
OKLaboklab(47.29% -0.0119 -0.18)
OKLCHoklch(47.29% 0.18 266.2)
XYZxyz(13.2354, 9.8875, 50.4911)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4FBF #BF9C2C
analogous
#2C98BF #2C4FBF #522CBF
triadic
#2C4FBF #BF2C4F #4FBF2C
tetradic
#2C4FBF #BF2C98 #BF9C2C #2CBF52
square
#2C4FBF #BF2C98 #BF9C2C #2CBF52
split-complementary
#2C4FBF #BF522C #98BF2C
monochromatic
#15265C #213A8D #2C4FBF #5171D7 #839AE2

Accessibility & contrast

On white

7.05
#2C4FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#2C4FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4FBF
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4FBF#FFFFFF#000000##FFFFFF
##2C4FBF1.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0052BD
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c4fbf;
/* rgb */ color: rgb(44, 79, 191);
/* oklch */ color: oklch(47.3% 0.180 266.2);
Tailwind
colors: {
  custom: {
    50: '#7c7fd3',
    500: '#2c4fbf',
    950: '#000000',
  },
}
SCSS
$custom: #2c4fbf;
$custom-light: #7c7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4fbf",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 225.714,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47286,
    "c": 0.18038,
    "h": 266.2
  },
  "luminance": 0.09889
}

Semantic roles & 50–950 ramp

primary
#2C4FBF
secondary
#CCB87B
accent
#BF42E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2C4FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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