#2C4EB0#2C4EB0

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

Color values

HEX#2C4EB0
RGBrgb(44, 78, 176)
HSLhsl(225, 60%, 43%)
HSVhsv(225, 75%, 69%)
CMYKcmyk(75%, 55.7%, 0%, 31%)
CIE-LABlab(36.21, 22.95, -55.82)
CIE-LCHlch(36.21, 60.35, 292.35°)
OKLaboklab(45.85% -0.0119 -0.1609)
OKLCHoklch(45.85% 0.161 265.8)
XYZxyz(11.5968, 9.1176, 42.2146)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4EB0 #B08E2C
analogous
#2C90B0 #2C4EB0 #4C2CB0
triadic
#2C4EB0 #B02C4E #4EB02C
tetradic
#2C4EB0 #B02C90 #B08E2C #2CB04C
square
#2C4EB0 #B02C90 #B08E2C #2CB04C
split-complementary
#2C4EB0 #B04C2C #90B02C
monochromatic
#14234E #20387F #2C4EB0 #486BD1 #7993DD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C4EB0#FFFFFF#000000##FFFFFF
##2C4EB01.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)
#005CB3
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#006677
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #2c4eb0;
/* rgb */ color: rgb(44, 78, 176);
/* oklch */ color: oklch(45.8% 0.161 265.8);
Tailwind
colors: {
  custom: {
    50: '#787fc8',
    500: '#2c4eb0',
    950: '#000000',
  },
}
SCSS
$custom: #2c4eb0;
$custom-light: #787fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4eb0",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 176
  },
  "hsl": {
    "h": 224.545,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45847,
    "c": 0.16134,
    "h": 265.8
  },
  "luminance": 0.09119
}

Semantic roles & 50–950 ramp

primary
#2C4EB0
secondary
#C6B072
accent
#BA45E3
background
#F7F7FC
surface
#EEEEF8
border
#C9C9D1
text
#0A0A13
muted
#7C7C82

Preview Lab

Preview with #2C4EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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