#2C4EBF#2C4EBF

#2C4EBF is a mid, vivid blue. Relative luminance 0.097; OKLCH L 47.1% C 0.182 H 266.5°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#2C4EBF
RGBrgb(44, 78, 191)
HSLhsl(226, 63%, 46%)
HSVhsv(226, 77%, 75%)
CMYKcmyk(77%, 59.2%, 0%, 25.1%)
CIE-LABlab(37.38, 28.61, -62.75)
CIE-LCHlch(37.38, 68.96, 294.51°)
OKLaboklab(47.09% -0.0112 -0.1812)
OKLCHoklch(47.09% 0.182 266.5)
XYZxyz(13.1638, 9.7444, 50.4672)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4EBF #BF9D2C
analogous
#2C97BF #2C4EBF #532CBF
triadic
#2C4EBF #BF2C4E #4EBF2C
tetradic
#2C4EBF #BF2C97 #BF9D2C #2CBF53
square
#2C4EBF #BF2C97 #BF9D2C #2CBF53
split-complementary
#2C4EBF #BF532C #97BF2C
monochromatic
#15255C #213A8D #2C4EBF #5170D7 #8399E2

Accessibility & contrast

On white

7.12
#2C4EBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4EBF
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4EBF#FFFFFF#000000##FFFFFF
##2C4EBF1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0051BD
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #2c4ebf;
/* rgb */ color: rgb(44, 78, 191);
/* oklch */ color: oklch(47.1% 0.182 266.5);
Tailwind
colors: {
  custom: {
    50: '#7c7fd3',
    500: '#2c4ebf',
    950: '#000000',
  },
}
SCSS
$custom: #2c4ebf;
$custom-light: #7c7fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4ebf",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 191
  },
  "hsl": {
    "h": 226.122,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47091,
    "c": 0.1816,
    "h": 266.5
  },
  "luminance": 0.09746
}

Semantic roles & 50–950 ramp

primary
#2C4EBF
secondary
#CCB97B
accent
#C042E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0A14
muted
#7C7C83

Preview Lab

Preview with #2C4EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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