#2C4BBD#2C4BBD

#2C4BBD is a mid, vivid blue. Relative luminance 0.092; OKLCH L 46.3% C 0.183 H 267.1°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#2C4BBD
RGBrgb(44, 75, 189)
HSLhsl(227, 62%, 46%)
HSVhsv(227, 77%, 74%)
CMYKcmyk(76.7%, 60.3%, 0%, 25.9%)
CIE-LABlab(36.44, 29.82, -63.10)
CIE-LCHlch(36.44, 69.79, 295.29°)
OKLaboklab(46.34% -0.0093 -0.1823)
OKLCHoklch(46.34% 0.183 267.1)
XYZxyz(12.7369, 9.2403, 49.2465)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BBD #BD9E2C
analogous
#2C94BD #2C4BBD #552CBD
triadic
#2C4BBD #BD2C4B #4BBD2C
tetradic
#2C4BBD #BD2C94 #BD9E2C #2CBD55
square
#2C4BBD #BD2C94 #BD9E2C #2CBD55
split-complementary
#2C4BBD #BD552C #94BD2C
monochromatic
#15245A #20378B #2C4BBD #506DD6 #8296E2

Accessibility & contrast

On white

7.37
#2C4BBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#2C4BBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4BBD
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BBD#FFFFFF#000000##FFFFFF
##2C4BBD1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#004FBB
Tritanopia (blue-blind)
#00687D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c4bbd;
/* rgb */ color: rgb(44, 75, 189);
/* oklch */ color: oklch(46.3% 0.183 267.1);
Tailwind
colors: {
  custom: {
    50: '#7b7dd2',
    500: '#2c4bbd',
    950: '#000000',
  },
}
SCSS
$custom: #2c4bbd;
$custom-light: #7b7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4bbd",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 227.172,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46343,
    "c": 0.18258,
    "h": 267.1
  },
  "luminance": 0.09242
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2C4BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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