#2C4FBD#2C4FBD

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

Color values

HEX#2C4FBD
RGBrgb(44, 79, 189)
HSLhsl(226, 62%, 46%)
HSVhsv(226, 77%, 74%)
CMYKcmyk(76.7%, 58.2%, 0%, 25.9%)
CIE-LABlab(37.48, 27.20, -61.41)
CIE-LCHlch(37.48, 67.16, 293.89°)
OKLaboklab(47.12% -0.012 -0.1773)
OKLCHoklch(47.12% 0.178 266.1)
XYZxyz(13.0168, 9.8001, 49.3398)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4FBD #BD9A2C
analogous
#2C97BD #2C4FBD #512CBD
triadic
#2C4FBD #BD2C4F #4FBD2C
tetradic
#2C4FBD #BD2C97 #BD9A2C #2CBD51
square
#2C4FBD #BD2C97 #BD9A2C #2CBD51
split-complementary
#2C4FBD #BD512C #97BD2C
monochromatic
#15255A #203A8B #2C4FBD #5070D6 #8299E2

Accessibility & contrast

On white

7.09
#2C4FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#2C4FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4FBD
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4FBD#FFFFFF#000000##FFFFFF
##2C4FBD1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c4fbd;
/* rgb */ color: rgb(44, 79, 189);
/* oklch */ color: oklch(47.1% 0.178 266.1);
Tailwind
colors: {
  custom: {
    50: '#7b7fd2',
    500: '#2c4fbd',
    950: '#000000',
  },
}
SCSS
$custom: #2c4fbd;
$custom-light: #7b7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4fbd",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 189
  },
  "hsl": {
    "h": 225.517,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47118,
    "c": 0.17772,
    "h": 266.1
  },
  "luminance": 0.09802
}

Semantic roles & 50–950 ramp

primary
#2C4FBD
secondary
#CBB77A
accent
#BE42E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2C4FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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