#2C4BAE#2C4BAE

#2C4BAE is a mid, vivid blue. Relative luminance 0.086; OKLCH L 45.1% C 0.162 H 266.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#2C4BAE
RGBrgb(44, 75, 174)
HSLhsl(226, 60%, 43%)
HSVhsv(226, 75%, 68%)
CMYKcmyk(74.7%, 56.9%, 0%, 31.8%)
CIE-LABlab(35.25, 24.18, -56.20)
CIE-LCHlch(35.25, 61.18, 293.28°)
OKLaboklab(45.08% -0.0097 -0.1621)
OKLCHoklch(45.08% 0.162 266.6)
XYZxyz(11.1921, 8.6224, 41.1106)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4BAE #AE8F2C
analogous
#2C8CAE #2C4BAE #4E2CAE
triadic
#2C4BAE #AE2C4B #4BAE2C
tetradic
#2C4BAE #AE2C8C #AE8F2C #2CAE4E
square
#2C4BAE #AE2C8C #AE8F2C #2CAE4E
split-complementary
#2C4BAE #AE4E2C #8CAE2C
monochromatic
#13214C #20367D #2C4BAE #4768D0 #7890DD

Accessibility & contrast

On white

7.71
#2C4BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#2C4BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4BAE
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4BAE#FFFFFF#000000##FFFFFF
##2C4BAE1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B1
Deuteranopia (green-blind)
#004DAC
Tritanopia (blue-blind)
#006375
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c4bae;
/* rgb */ color: rgb(44, 75, 174);
/* oklch */ color: oklch(45.1% 0.162 266.6);
Tailwind
colors: {
  custom: {
    50: '#787cc7',
    500: '#2c4bae',
    950: '#000000',
  },
}
SCSS
$custom: #2c4bae;
$custom-light: #787cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4bae",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 174
  },
  "hsl": {
    "h": 225.692,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45075,
    "c": 0.16235,
    "h": 266.6
  },
  "luminance": 0.08624
}

Semantic roles & 50–950 ramp

primary
#2C4BAE
secondary
#C5B171
accent
#BD45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2C4BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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