#2C4EB9#2C4EB9

#2C4EB9 is a mid, vivid blue. Relative luminance 0.095; OKLCH L 46.6% C 0.174 H 266.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#2C4EB9
RGBrgb(44, 78, 185)
HSLhsl(226, 62%, 45%)
HSVhsv(226, 76%, 73%)
CMYKcmyk(76.2%, 57.8%, 0%, 27.5%)
CIE-LABlab(36.90, 26.35, -60.00)
CIE-LCHlch(36.90, 65.54, 293.71°)
OKLaboklab(46.59% -0.0114 -0.1732)
OKLCHoklch(46.59% 0.174 266.2)
XYZxyz(12.5170, 9.4856, 47.0608)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4EB9 #B9972C
analogous
#2C94B9 #2C4EB9 #512CB9
triadic
#2C4EB9 #B92C4E #4EB92C
tetradic
#2C4EB9 #B92C94 #B9972C #2CB951
square
#2C4EB9 #B92C94 #B9972C #2CB951
split-complementary
#2C4EB9 #B9512C #94B92C
monochromatic
#142456 #203988 #2C4EB9 #4D6ED5 #7F96E1

Accessibility & contrast

On white

7.25
#2C4EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#2C4EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4EB9
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4EB9#FFFFFF#000000##FFFFFF
##2C4EB91.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#0051B7
Tritanopia (blue-blind)
#00697C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #2c4eb9;
/* rgb */ color: rgb(44, 78, 185);
/* oklch */ color: oklch(46.6% 0.174 266.2);
Tailwind
colors: {
  custom: {
    50: '#7a7fcf',
    500: '#2c4eb9',
    950: '#000000',
  },
}
SCSS
$custom: #2c4eb9;
$custom-light: #7a7fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4eb9",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 185
  },
  "hsl": {
    "h": 225.532,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46586,
    "c": 0.17358,
    "h": 266.2
  },
  "luminance": 0.09487
}

Semantic roles & 50–950 ramp

primary
#2C4EB9
secondary
#C9B678
accent
#BE43E5
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0A14
muted
#7C7C82

Preview Lab

Preview with #2C4EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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