#2C4CBC#2C4CBC

#2C4CBC is a mid, vivid blue. Relative luminance 0.093; OKLCH L 46.4% C 0.180 H 266.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#2C4CBC
RGBrgb(44, 76, 188)
HSLhsl(227, 62%, 45%)
HSVhsv(227, 77%, 74%)
CMYKcmyk(76.6%, 59.6%, 0%, 26.3%)
CIE-LABlab(36.62, 28.79, -62.23)
CIE-LCHlch(36.62, 68.57, 294.83°)
OKLaboklab(46.45% -0.0099 -0.1798)
OKLCHoklch(46.45% 0.18 266.8)
XYZxyz(12.6971, 9.3338, 48.6996)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4CBC #BC9C2C
analogous
#2C94BC #2C4CBC #542CBC
triadic
#2C4CBC #BC2C4C #4CBC2C
tetradic
#2C4CBC #BC2C94 #BC9C2C #2CBC54
square
#2C4CBC #BC2C94 #BC9C2C #2CBC54
split-complementary
#2C4CBC #BC542C #94BC2C
monochromatic
#152459 #20388A #2C4CBC #4F6DD6 #8196E1

Accessibility & contrast

On white

7.32
#2C4CBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#2C4CBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4CBC
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4CBC#FFFFFF#000000##FFFFFF
##2C4CBC1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#00687C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c4cbc;
/* rgb */ color: rgb(44, 76, 188);
/* oklch */ color: oklch(46.4% 0.180 266.8);
Tailwind
colors: {
  custom: {
    50: '#7b7dd1',
    500: '#2c4cbc',
    950: '#000000',
  },
}
SCSS
$custom: #2c4cbc;
$custom-light: #7b7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4cbc",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 226.667,
    "s": 62.069,
    "l": 45.49
  },
  "oklch": {
    "l": 0.46448,
    "c": 0.18004,
    "h": 266.8
  },
  "luminance": 0.09335
}

Semantic roles & 50–950 ramp

primary
#2C4CBC
secondary
#CAB879
accent
#C143E5
background
#F8F7FD
surface
#EFEEFA
border
#CAC9D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2C4CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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