#2C4DBF#2C4DBF

#2C4DBF is a mid, vivid blue. Relative luminance 0.096; OKLCH L 46.9% C 0.183 H 266.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#2C4DBF
RGBrgb(44, 77, 191)
HSLhsl(227, 63%, 46%)
HSVhsv(227, 77%, 75%)
CMYKcmyk(77%, 59.7%, 0%, 25.1%)
CIE-LABlab(37.12, 29.26, -63.17)
CIE-LCHlch(37.12, 69.62, 294.85°)
OKLaboklab(46.9% -0.0106 -0.1825)
OKLCHoklch(46.9% 0.183 266.7)
XYZxyz(13.0933, 9.6033, 50.4437)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4DBF #BF9E2C
analogous
#2C96BF #2C4DBF #552CBF
triadic
#2C4DBF #BF2C4D #4DBF2C
tetradic
#2C4DBF #BF2C96 #BF9E2C #2CBF55
square
#2C4DBF #BF2C96 #BF9E2C #2CBF55
split-complementary
#2C4DBF #BF552C #96BF2C
monochromatic
#15255C #21398D #2C4DBF #516FD7 #8398E2

Accessibility & contrast

On white

7.19
#2C4DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#2C4DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4DBF
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4DBF#FFFFFF#000000##FFFFFF
##2C4DBF1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0051BD
Tritanopia (blue-blind)
#006A7E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c4dbf;
/* rgb */ color: rgb(44, 77, 191);
/* oklch */ color: oklch(46.9% 0.183 266.7);
Tailwind
colors: {
  custom: {
    50: '#7c7ed3',
    500: '#2c4dbf',
    950: '#000000',
  },
}
SCSS
$custom: #2c4dbf;
$custom-light: #7c7ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4dbf",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 226.531,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.46898,
    "c": 0.18282,
    "h": 266.7
  },
  "luminance": 0.09605
}

Semantic roles & 50–950 ramp

primary
#2C4DBF
secondary
#CCBA7B
accent
#C142E6
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C4DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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