#2C4CBD#2C4CBD

#2C4CBD is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.181 H 266.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#2C4CBD
RGBrgb(44, 76, 189)
HSLhsl(227, 62%, 46%)
HSVhsv(227, 77%, 74%)
CMYKcmyk(76.7%, 59.8%, 0%, 25.9%)
CIE-LABlab(36.70, 29.17, -62.68)
CIE-LCHlch(36.70, 69.14, 294.95°)
OKLaboklab(46.53% -0.0099 -0.1811)
OKLCHoklch(46.53% 0.181 266.9)
XYZxyz(12.8052, 9.3770, 49.2693)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4CBD #BD9D2C
analogous
#2C94BD #2C4CBD #552CBD
triadic
#2C4CBD #BD2C4C #4CBD2C
tetradic
#2C4CBD #BD2C94 #BD9D2C #2CBD55
square
#2C4CBD #BD2C94 #BD9D2C #2CBD55
split-complementary
#2C4CBD #BD552C #94BD2C
monochromatic
#15245A #20388B #2C4CBD #506ED6 #8297E2

Accessibility & contrast

On white

7.30
#2C4CBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#2C4CBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4CBD
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4CBD#FFFFFF#000000##FFFFFF
##2C4CBD1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#0050BB
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c4cbd;
/* rgb */ color: rgb(44, 76, 189);
/* oklch */ color: oklch(46.5% 0.181 266.9);
Tailwind
colors: {
  custom: {
    50: '#7b7dd2',
    500: '#2c4cbd',
    950: '#000000',
  },
}
SCSS
$custom: #2c4cbd;
$custom-light: #7b7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4cbd",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 189
  },
  "hsl": {
    "h": 226.759,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46534,
    "c": 0.18137,
    "h": 266.9
  },
  "luminance": 0.09378
}

Semantic roles & 50–950 ramp

primary
#2C4CBD
secondary
#CBB97A
accent
#C142E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C4CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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