#2C4EBD#2C4EBD

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

Color values

HEX#2C4EBD
RGBrgb(44, 78, 189)
HSLhsl(226, 62%, 46%)
HSVhsv(226, 77%, 74%)
CMYKcmyk(76.7%, 58.7%, 0%, 25.9%)
CIE-LABlab(37.22, 27.86, -61.84)
CIE-LCHlch(37.22, 67.82, 294.25°)
OKLaboklab(46.92% -0.0113 -0.1786)
OKLCHoklch(46.92% 0.179 266.4)
XYZxyz(12.9452, 9.6569, 49.3160)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4EBD #BD9B2C
analogous
#2C96BD #2C4EBD #522CBD
triadic
#2C4EBD #BD2C4E #4EBD2C
tetradic
#2C4EBD #BD2C96 #BD9B2C #2CBD52
square
#2C4EBD #BD2C96 #BD9B2C #2CBD52
split-complementary
#2C4EBD #BD522C #96BD2C
monochromatic
#15255A #203A8B #2C4EBD #506FD6 #8298E2

Accessibility & contrast

On white

7.16
#2C4EBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#2C4EBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4EBD
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4EBD#FFFFFF#000000##FFFFFF
##2C4EBD1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4ebd;
/* rgb */ color: rgb(44, 78, 189);
/* oklch */ color: oklch(46.9% 0.179 266.4);
Tailwind
colors: {
  custom: {
    50: '#7b7fd2',
    500: '#2c4ebd',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ebd;
$custom-light: #7b7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ebd",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 225.931,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46922,
    "c": 0.17894,
    "h": 266.4
  },
  "luminance": 0.09658
}

Semantic roles & 50–950 ramp

primary
#2C4EBD
secondary
#CBB87A
accent
#BF42E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2C4EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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