#2C4ABD#2C4ABD

#2C4ABD is a mid, vivid blue. Relative luminance 0.091; OKLCH L 46.2% C 0.184 H 267.3°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#2C4ABD
RGBrgb(44, 74, 189)
HSLhsl(228, 62%, 46%)
HSVhsv(228, 77%, 74%)
CMYKcmyk(76.7%, 60.8%, 0%, 25.9%)
CIE-LABlab(36.19, 30.47, -63.52)
CIE-LCHlch(36.19, 70.45, 295.63°)
OKLaboklab(46.15% -0.0086 -0.1836)
OKLCHoklch(46.15% 0.184 267.3)
XYZxyz(12.6696, 9.1057, 49.2241)
Luminance0.0911 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4ABD #BD9F2C
analogous
#2C92BD #2C4ABD #562CBD
triadic
#2C4ABD #BD2C4A #4ABD2C
tetradic
#2C4ABD #BD2C92 #BD9F2C #2CBD56
square
#2C4ABD #BD2C92 #BD9F2C #2CBD56
split-complementary
#2C4ABD #BD562C #92BD2C
monochromatic
#15235A #20378B #2C4ABD #506CD6 #8295E2

Accessibility & contrast

On white

7.44
#2C4ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#2C4ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4ABD
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4ABD#FFFFFF#000000##FFFFFF
##2C4ABD1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#00677C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c4abd;
/* rgb */ color: rgb(44, 74, 189);
/* oklch */ color: oklch(46.2% 0.184 267.3);
Tailwind
colors: {
  custom: {
    50: '#7b7cd2',
    500: '#2c4abd',
    950: '#000000',
  },
}
SCSS
$custom: #2c4abd;
$custom-light: #7b7cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4abd",
  "rgb": {
    "r": 44,
    "g": 74,
    "b": 189
  },
  "hsl": {
    "h": 227.586,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46152,
    "c": 0.18378,
    "h": 267.3
  },
  "luminance": 0.09107
}

Semantic roles & 50–950 ramp

primary
#2C4ABD
secondary
#CBBA7A
accent
#C442E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C4ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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